DataGrid / Selection / Default Selection

Blazor DataGrid Example - Default Selection

Loading Syncfusion Blazor Server Demos…

1 of 7 pages (75 items)

This sample demonstrates the DataGrid selection feature for interactive row and cell selection.

The Blazor DataGrid provides comprehensive selection support with simple mouse and keyboard interactions. To enable selection, set the AllowSelection property to true.

Selection Types (via GridSelectionSettings):

  • Single - Allows selection of one row or cell at a time (default)
  • Multiple - Allows selection of multiple rows or cells simultaneously

Selection Modes (via GridSelectionSettings):

  • Row - Enables row selection (default)
  • Cell - Enables individual cell selection
  • Both - Enables both row and cell selection; clicking a cell selects both the row and cell

Keyboard Shortcuts for Multi-Selection:

  • Ctrl + Click - Select multiple non-adjacent rows or cells
  • Shift + Click - Select a continuous range of rows or cells

For more detailed information about the selection feature, refer to the selection documentation.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE