Reputation: 27
In ag-grid is it possible for invisible columns on smaller screens to automatically get collapsed into a plus button at the beginning of the row and then revealed as a stack of rows when the user presses this button?
Upvotes: 1
Views: 301
Reputation: 688
Yes it is possible in Ag-grid to show/hide columns.
When you want to set one or several columns to be invisible, just call:
gridColumnApi.setColumnVisible('columnName', false);
And, set true, when you want to show again.
Upvotes: 1