Ioan
Ioan

Reputation: 27

Is ag-grid responsive like DataTables from datatables.net?

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

Answers (1)

LuDeveloper
LuDeveloper

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

Related Questions