New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Grid Toolbar Columns Menu
-
EXAMPLEVIEW SOURCE
- EDIT IN
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
The ASP.NET Core DataGrid allows you to render a column menu in the column headers, providing easy access to operations like sorting, grouping, filtering, and others. To display the column menu globally rather than for each column, define the Columns() option in the Grid Toolbar() configuration. The global column menu allows you to change the visibility of a specified column and to clear all applied filters to the Grid when the ClearAllFilters() option is enabled within the ColumnMenu()—ColumnMenu(menu => menu.ClearAllFilters(true)).
This demo shows how to define the Grid column menu globally in the Toolbar and clear all Grid filters through a single button.