Open lukasmasuch opened 11 months ago
I see someone has been crawling the ag-grid docs :P
This is relatively straightforward to achieve and requires little more than precomputing the deepest chain, creating a lookup method, and then changing the group headers draw to work more like drawCells
This does make mapping the group header index back into the clicked group a bit hairy for the user. Something to think about.
yeah, have been looking around for some inspiration :)
But this feature would also resolve one of the more requested issues in Streamlit: https://github.com/streamlit/streamlit/issues/6319
I just saw that there was already some discussion on this here: https://github.com/glideapps/glide-data-grid/discussions/798
Supporting multiple column group levels would be useful for use cases like pivot tables.
Proposed API:
Allow specifying a list of group names that are used to create multi-level column groups: