Skip to content

Commit

Permalink
Removed the introduced autoPageSize flag because it will default to 0…
Browse files Browse the repository at this point in the history
… rows (#992)
  • Loading branch information
hlin-neo4j committed Dec 11, 2024
1 parent c909b59 commit 9290c29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/chart/table/TableChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export const NeoTableChart = (props: ChartProps) => {
key: 'tableKey',
columnHeaderHeight: 32,
rowHeight: tableRowHeight,
autoPageSize: true,
rows: rows,
columns: columns,
columnVisibilityModel: columnVisibilityModel,
Expand Down Expand Up @@ -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])}`;
Expand Down

0 comments on commit 9290c29

Please sign in to comment.