DataGrid / Relational Binding / Master Detail Grid

Blazor Master Detail Grid Example

Loading Syncfusion Blazor Server Demos…

Master Grid
Showing orders of Customer:

This sample demonstrates the Master-Detail DataGrid pattern for displaying hierarchical record relationships.

The Master-Detail DataGrid scenario enables you to visualize details of a master record in a separate detail DataGrid. Simply click a row in the master grid to populate the detail grid with corresponding information.

To implement this pattern:

  • Capture the selected record from the master DataGrid using the RowSelected event
  • Filter the detail datasource based on the selected master record
  • Bind the filtered data to the detail DataGrid DataSource property

In this demo, clicking any row in the master DataGrid automatically populates the detail DataGrid with the corresponding related records.

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