Reputation: 192
I tried to hide/show this rowGroupPanel dynamically by using a checkbox, if the checkbox is checked, then I'll update it as 'always' else 'never' in gridOptions as shown below but it failed.
Is there any way to achieve this?
Upvotes: 3
Views: 718
Reputation: 2161
there is no inbuilt method by AG-Grid to do this nor it is documented in documentation anywhere but you can use simple JavaScript to target the rowGroupPanel
element and control the visibility
of it. here is a simple demo
Upvotes: 1