Blazor DataGrid Example - Detail Templates
First Name | Last Name | Title | Phone | Email | Address | Country |
|---|
| Nancy | Davolio | Sales Representative | (206) 555-9857 | nancy_davolio@gmail.com | 507 - 20th Ave. E.Apt. 2A | USA | |
| Andrew | Fuller | Vice President, Sales | (206) 555-9482 | andrew_fuller@gmail.com | 908 W. Capital Way | USA | |
| Janet | Leverling | Sales Representative | (206) 555-8122 | Janet_leverling@gmail.com | 4110 Old Redmond Rd. | USA | |
| Margaret | Peacock | Sales Representative | (71) 555-4848 | margaret_peacock@gmail.com | 14 Garrett Hill | UK | |
| Steven | Buchanan | Sales Manager | (206) 555-8122 | steven_buchanan@gmail.com | Coventry HouseMiner Rd. | USA | |
| Michael | Suyama | Sales Representative | (71) 555-4444 | michael_suyama@gmail.com | 7 Houndstooth Rd. | UK | |
| Robert | King | Sales Representative | (71) 555-5598 | robert_king@gmail.com | Edgeham HollowWinchester Way | UK | |
| Laura | Callahan | Inside Sales Coordinator | (206) 555-3412 | laura_callahan@gmail.com | 722 Moss Bay Blvd. | USA | |
| Anne | Dodsworth | Sales Representative | (71) 555-5598 | anne_dodsworth@gmail.com | 4726 - 11th Ave. N.E. | UK |
This sample demonstrates the Blazor DataGrid detail template feature for displaying hierarchical information.
The DataGrid detail template feature displays additional information about specific rows when expanded. To implement detail templates, wrap the required content with the DetailTemplate within the GridTemplates component.
In this demo, click the expand button in each row to view detailed information. The detail template displays:
- Employee information and photograph
- Sales data and performance reports in tab-based views
Frozen columns are fully supported in detail templates. You can dynamically enable or disable the frozen column feature using the provided checkbox, allowing you to manage column visibility while viewing detailed information.
This hierarchical display is ideal for visualizing statistical data relationships and presenting comprehensive information in an organized manner.
For more information about detail templates, refer to the detail template documentation.
Looking for the full Blazor DataGrid component overview, features, pricing, and documentation? Visit our Blazor DataGrid component page.