Aggrid spanRows #4976
-
First Check
Example Codefrom nicegui import app, ui
grid = ui.aggrid({
'defaultColDef': { 'flex': 1 },
'defaultExcelExportParams': {
'exportAsExcelTable': True,
},
'columnDefs': [
{'field': 'field', 'spanRows': True},
{'field': 'area'},
],
'enableCellSpan': True,
'rowData': [
{'field': "A", 'area': "C"}, {'field': "A", 'area': "B"}
]
} DescriptionHi, I am trying to implement table with row spanning. Using documentation from https://www.ag-grid.com/javascript-data-grid/row-spanning/ I set props to the table, but always getting the following errors: AG Grid: invalid gridOptions property 'enableCellSpan' did you mean any of these: enableCellEditingOnBackspace, enableCellExpressions, enableCellTextSelection, enableCharts. AG Grid: invalid colDef property 'spanRows' did you mean any of these: suppressFloatingFilterButton, suppressAutoSize, suppressSpanHeaderHeight, useValueParserForImport, suppressHeaderMenuButton, columnsMenuParams, columnChooserParams, colSpan. is there any idea how to solve the puzzle? NiceGUI Version2.16.1 Python Version3.11.9 BrowserChrome, Edge Operating SystemWindows Additional ContextSomehow i can't put images here |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @golgitab, NiceGUI ships with AG Grid 32.1.0 which implements a different row spanning API: https://www.ag-grid.com/archive/32.1.0/javascript-data-grid/row-spanning/. |
Beta Was this translation helpful? Give feedback.
Hi @golgitab,
NiceGUI ships with AG Grid 32.1.0 which implements a different row spanning API: https://www.ag-grid.com/archive/32.1.0/javascript-data-grid/row-spanning/.
We're planning to upgrade AG Grid and other dependencies in the upcoming version 3.0.