Skip to content

Commit 1347d46

Browse files
committed
[FIX] pivot: raise pivot size limit
Currently, if a dynamic pivot table is more than 100k cells, the pivot is not displayed and the formula is in error. When we upgraded odoo.com, we had to wait ~0 minute before finding important spreadsheets where the limit was reached. This commit increase the limit from 100k to 500k If it's not enough/too much, we'll add a setting to allow users to tune it. closes #7462 Task: 0 X-original-commit: b95dcae Signed-off-by: Rémi Rahir (rar) <[email protected]> Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
1 parent 128b62a commit 1347d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/o-spreadsheet-engine/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export const PIVOT_TABLE_CONFIG = {
265265
};
266266
export const PIVOT_INDENT = 15;
267267
export const PIVOT_COLLAPSE_ICON_SIZE = 12;
268-
export const PIVOT_MAX_NUMBER_OF_CELLS = 1e5;
268+
export const PIVOT_MAX_NUMBER_OF_CELLS = 5e5;
269269

270270
export const DEFAULT_CURRENCY: Currency = {
271271
symbol: "$",

0 commit comments

Comments
 (0)