New to Telerik UI for Blazor? Download Free 30-day trial

Grid - Columns Visibility

You can tie the Visible parameter of the column to your business logic, such as responsive design.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming
  • Columns.razor
  • EmployeeService.cs
  • EmployeeDto.cs
Loading the demo source code...please wait.


This demo for the Telerik Grid for Blazor showcases the feature to programatically show and hide columns in the component. This example shows how to achieve that by clicking a button and toggling the value for the Visible parameter set to the specific column.

When you hide a column and show it again, it will persist its order in the Grid columns. You can see that live by clicking on the Show / Hide Summary Column button.

You can also tie the Visible parameter to a flag coming from responsive design media query to hide columns for small screens.

This Data Grid Columns Visibility example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.