New to Telerik UI for Blazor? Download Free 30-day trial
Grid - Adaptive
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Configurator
Use the slider below to resize the Grid and observe its adaptiveness
Toolbar Scroll Buttons
Toolbar Scroll Buttons Layout
SplitDrag a column header and drop it here to group by that column
ID | Title | Owner | Status | Start Date | End Date |
---|
1 | Project 1 | Alice | Completed | 8/26/2025 | 8/31/2025 |
2 | Project 2 | Alice | Planned | 8/23/2025 | 9/2/2025 |
3 | Project 3 | Alice | Completed | 8/20/2025 | 9/4/2025 |
4 | Project 4 | Carol | In Progress | 8/17/2025 | 9/6/2025 |
5 | Project 5 | Alice | On Hold | 8/14/2025 | 9/8/2025 |
6 | Project 6 | Alice | In Progress | 8/11/2025 | 9/10/2025 |
7 | Project 7 | Bob | Planned | 8/8/2025 | 9/12/2025 |
8 | Project 8 | Alice | Completed | 8/5/2025 | 9/14/2025 |
9 | Project 9 | David | In Progress | 8/2/2025 | 9/16/2025 |
10 | Project 10 | Bob | Completed | 7/30/2025 | 9/18/2025 |
Page
of 5
1 - 10 of 50 items- Adaptive.razor
Loading the demo source code...please wait.
Description
The Telerik UI for Blazor Grid can adapt its UI to the available space. The example above shows the following behaviors:
- The Grid can hide the overflowing items of its Toolbar in a popup section or make them scrollable. You can enable the feature by setting the
AdaptiveMode
parameter toAdaptiveMode.Auto
You can also control the toolbar scroll buttons layout via theScrollButtonsPosition
andScrollButtonsVisibility
parameters of theGridToolBarSettings
. - The Grid can switch its data layout from regular columns to stacked columns. In a stacked column multiple labels and data item values can appear one below the other, which drastically reduces the required amount of horizontal space. To enable stacked columns, set the Grid
DataLayoutMode
parameter toGridDataLayoutMode.Stacked
and set the desired number of stacked columns to theColumnsCount
parameter inGridStackedLayoutSettings
.
To toggle the Grid DataLayoutMode
at runtime, you can use the Telerik MediaQuery component for Blazor.
This Blazor Data Grid Adaptive 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.