1
votes

I have an ag-grid with all columns defined in two groups and the column tool panel on. Currently when you open the tool panel, it keeps both groups expanded but I would like to by default keep one of them collapsed and the other expanded. Is this possible? I wasn't able to find a function in the ag-grid API to do this.

EDIT

The first example here shows the column groups in a tool panel: https://www.ag-grid.com/javascript-grid-tool-panel-columns/

I want to make the column groups "Athlete" and "Competition" collapsed by default in the tool panel but leave "Medals" expanded.

1
not fully got what you are trying to achieve, could you provide an extended details plsun.spike
I updated my question, please let me know if my question makes sense now.Pinkie A

1 Answers

0
votes

Update

unfortunately, ag-grid doesn't provide such possibilities yet.

setupExpandContract() method is private and not available via API