Skip to content

Commit 9290c29

Browse files
committed
Removed the introduced autoPageSize flag because it will default to 0 rows (#992)
1 parent c909b59 commit 9290c29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/chart/table/TableChart.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ export const NeoTableChart = (props: ChartProps) => {
214214
key: 'tableKey',
215215
columnHeaderHeight: 32,
216216
rowHeight: tableRowHeight,
217-
autoPageSize: true,
218217
rows: rows,
219218
columns: columns,
220219
columnVisibilityModel: columnVisibilityModel,
@@ -253,7 +252,9 @@ export const NeoTableChart = (props: ChartProps) => {
253252
for (const [index, rule] of styleRules.entries()) {
254253
if (rule.targetField) {
255254
if (rule.targetField === params.field) {
256-
trueRule = `rule${evaluateSingleRuleOnDict({ [rule.field]: params.row[rule.field] }, rule, index, [e])}`;
255+
trueRule = `rule${evaluateSingleRuleOnDict({ [rule.field]: params.row[rule.field] }, rule, index, [
256+
e,
257+
])}`;
257258
}
258259
} else {
259260
trueRule = `rule${evaluateSingleRuleOnDict({ [params.field]: params.value }, rule, index, [e])}`;

0 commit comments

Comments
 (0)