Search code examples
angularag-gridag-grid-angular

How to expand the pivot column groups by default in angular ag-grid


I am using angular ag-grid to display my data. I want to expand the pivot column group by default and hide the expand and collapse icon for the pivot column. I have created a demo under this link "https://plnkr.co/edit/Qkyrcrpemy9dyxqW" Could anyone please tell me how can I achieve it.enter image description here


Solution

  • Set the property suppressExpandablePivotGroups to true on your grid. This will make your pivot columns fixed. See here for documentaion.

    Updated Plunker.