This example demonstrates using the
Slick.Controls.GridMenu plugin to easily add a Grid Menu (aka hamburger menu) on the top right
corner of the grid.
(
Wiki docs)
-
You can change the Grid Menu icon, for example "mdi-dots-vertical" (which is shown in this example)
- By default the Grid Menu shows all columns which you can show/hide them
- You can configure multiple custom "commands" to show up in the Grid Menu and use the "onGridMenuCommand()" callback
- Doing a "right + click" over any column header will also provide a way to show/hide a column (via the Column Picker Plugin)
- You can change the icons of both picker via SASS variables as shown in this demo (check all SASS variables)
- You can also show the Grid Menu anywhere on your page