New to Telerik UI for Blazor? Download Free 30-day trial
Grid - Row Selection
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Configurator
Choose the Grid Selection Mode:
MultipleName | Title | Address | Phone |
---|
Peter Franken | Marketing Manager | Berliner Platz 43 | 089-0877310 |
Maurizio Moroni | Sales Associate | Strada Provinciale 124 | 0522-556721 |
Paula Wilson | Assistant Sales Representative | 2817 Milton Dr. | (505) 555-5939 |
Sergio Gutiérrez | Sales Representative | Av. del Libertador 900 | (1) 123-5555 |
Horst Kloss | Accounting Manager | Taucherstraße 10 | 0372-035188 |
Lúcia Carvalho | Marketing Assistant | Alameda dos Canàrios, 891 | (11) 555-1189 |
Bernardo Batista | Accounting Manager | Rua da Panificadora, 12 | (21) 555-4252 |
Isabel de Castro | Sales Representative | Estrada da saúde n. 58 | (1) 356-5634 |
Georg Pipps | Sales Manager | Geislweg 14 | 6562-9722 |
Guillermo Fernández | Sales Representative | Calle Dr. Jorge Cash 321 | (5) 552-3745 |
Selected Items:
- Sergio Gutiérrez ((1) 123-5555)
- Horst Kloss (0372-035188)
- Row-selection.razor
- CustomerService.cs
- CustomerDto.cs
Loading the demo source code...please wait.
Description
The Telerik Grid for Blazor allows you to select a single row or a multitude of rows. To observe the behavior of the different selection modes use the dropdown list in the demo configurator at the top.
Additionally, the selection itself can be done in different ways:
- By clicking on a row only
- By clicking in the
GridCheckBoxColumn
only - With both options
To observe the behavior of the different ways to select rows make your choice in the demo configurator at the top:
- If you don't want to select rows by clicking on the row and you want to use only the check box selection, then show the CheckBox Column and select to use only the CheckBox Column to select. This is useful when you want your users to have the option to click on rows so that they could perform edit or other actions but not trigger a selection.
- You can also enable the
SelectAll
checkbox to allow your users to select all items in the Grid at once.
This Blazor Data Grid Row Selection 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.