Hello folks:
So I was testing out the Dash Ag Grid Enterprise features, particularly the Row Grouping functionality. I am trying to pass in the “grandTotalRow = bottom” configuration to my Dash Ag Grid table which is grouping a bunch of columns, however not sure why it is not taking effect.
This is what I am referring to from Ag Grid’s documentation: https://www.ag-grid.com/javascript-data-grid/grouping-footers/
Below is how I am trying to use it in Dash Ag Grid table:
dag.AgGrid(
enableEnterpriseModules=True,
# licenseKey=<your_license_key>,
id="test",
columnDefs=column_defs,
rowData=holdings_data,
# defaultColDef={"flex": 1, "resizable": True},
defaultColDef={"resizable": True},
columnSize="responsiveSizeToFit",
style={"height": height},
className="ag-theme-alpine compact",
dashGridOptions={
"enableCharts": True,
"enableRangeSelection": True,
"grandTotalRow": "bottom",
"groupTotalRow": "bottom",
},
)
Any thoughts on why this couldn’t be working or am I using it wrong in the first place? Also, I am still testing the enterprise version, so not using the key yet, in case that makes a difference.
@AnnMarieW Would be awesome if you can chime in as well.
Side note, I added “groupDefaultExpanded = 1” option in the above Dash Ag Grid method and that seems to be taking effect just fine, but not “grandTotalRow” or “groupTotalRow”.
I am on v.2.4.0.
Thanks a lot everyone!