Skip to content

Commit

Permalink
[IMP] demo: add tables in pivot demo data
Browse files Browse the repository at this point in the history
Add a static table for the dataset of the demo pivot, and a dynamic
table for the demo pivot.

closes #4974

Task: 0
Signed-off-by: Rémi Rahir (rar) <[email protected]>
  • Loading branch information
hokolomopo committed Sep 12, 2024
1 parent a74b5f6 commit e98652d
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion demo/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -2404,7 +2404,36 @@ export const demoData = {
},
conditionalFormats: [],
figures: [],
tables: [],
tables: [
{
range: "A1:I22",
type: "static",
config: {
hasFilters: true,
totalRow: false,
firstColumn: false,
lastColumn: false,
numberOfHeaders: 1,
bandedRows: false,
bandedColumns: false,
styleId: "TableStyleLigh12",
},
},
{
range: "A25",
type: "dynamic",
config: {
hasFilters: false,
totalRow: true,
firstColumn: true,
lastColumn: false,
numberOfHeaders: 1,
bandedRows: true,
bandedColumns: false,
styleId: "TableStyleMedium5",
},
},
],
areGridLinesVisible: true,
isVisible: true,
headerGroups: { ROW: [], COL: [] },
Expand Down

0 comments on commit e98652d

Please sign in to comment.