From 9290c29014e6c1859ed5c20be936cfa2ca5edae4 Mon Sep 17 00:00:00 2001 From: Henry Lin Date: Wed, 11 Dec 2024 17:46:10 -0500 Subject: [PATCH] Removed the introduced autoPageSize flag because it will default to 0 rows (#992) --- src/chart/table/TableChart.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/chart/table/TableChart.tsx b/src/chart/table/TableChart.tsx index 57e579207..7acab7a45 100644 --- a/src/chart/table/TableChart.tsx +++ b/src/chart/table/TableChart.tsx @@ -214,7 +214,6 @@ export const NeoTableChart = (props: ChartProps) => { key: 'tableKey', columnHeaderHeight: 32, rowHeight: tableRowHeight, - autoPageSize: true, rows: rows, columns: columns, columnVisibilityModel: columnVisibilityModel, @@ -253,7 +252,9 @@ export const NeoTableChart = (props: ChartProps) => { for (const [index, rule] of styleRules.entries()) { if (rule.targetField) { if (rule.targetField === params.field) { - trueRule = `rule${evaluateSingleRuleOnDict({ [rule.field]: params.row[rule.field] }, rule, index, [e])}`; + trueRule = `rule${evaluateSingleRuleOnDict({ [rule.field]: params.row[rule.field] }, rule, index, [ + e, + ])}`; } } else { trueRule = `rule${evaluateSingleRuleOnDict({ [params.field]: params.value }, rule, index, [e])}`;