Hi Dash Community:
I searched for a bit, but in AG Grid in dash, is there a way to set the “height” of the master detail? Note, the question is not about the parameter:
- For auto height to fit all data, set
detailRowAutoHeight=True
on dashGridOptions
However, it is for set the height of row in the expanded detail table:
Hello @entropy_l,
If there is a property that doesn’t exist in the first level of props, and is in the AG grid docs, then you need to pass it to the dashGridOptions
.
AG grid has so many features and properties that to port them all over would cause issues when using python editors because they start recommending properties. Which, the longer the list, the longer your editor will get stuck, and it will happen with each property that you punch after a comma.
So, in order to keep this from happening, and the properties in the docs becoming overwhelming. We have dashGridOptions
as a catch all.
Thank you so much @jinnyzor.
1 Like
Just an update, the solution that works is:
“detailCellRendererParams”:{
“detailGridOptions”: {
“rowHeight”: 26},
}
This is mentioned here:
- The
detailGridOptions
is provided inside the detailCellRendererParams
.