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

Grid - Sizing

1 - 12 of 100 items
1 - 12 of 100 items
  • Sizing.razor
  • StockService.cs
  • StockDto.cs
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

The Grid for Blazor allows you to reduce its density to achieve better visibility on smaller devices, or simply to render more data. For a compact appearance, you can change the value of the Size parameter to Small. The compact Grid will utilize the available space by setting smaller padding in its cells.

The Size setting also affects the inner components such as the Toolbar, Pager and editors(TextBox, NumericTextBox and more). Their elements will have smaller padding as well to follow the overall styling of the Grid.

The example above illustrates the Grid sizing through a direct side-by-side comparison between the two setups.

This Blazor Data Grid Sizing 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.