Grids

Generic data grid from Verapath.Components. Supports sorting, column resizing, column visibility, search, pagination, per-row editing, row click, child rows, and XLSX export.

Basic Grid

Read-only grid with sortable columns, search, column visibility toggle, pagination, and export. Click the Export button to download the current view to XLSX.

Salary
1Alice JohnsonEngineeringalice@verapath.comActiveAustin$95,000
2Bob MartinezMarketingbob@verapath.comActiveChicago$72,000
3Carol WhiteEngineeringcarol@verapath.comOn LeaveRemote$88,000
4David ChenSalesdavid@verapath.comActiveNew York$65,000
5Eva RodriguezHReva@verapath.comActiveAustin$70,000
1 – 5 of 20
Rows per page:
1 / 4

Editable Grid

Click Edit on any row to edit the Name, Department, and Status columns inline. Save applies the changes; Cancel discards them. Last save: none yet

Salary
Actions
1Alice JohnsonEngineeringalice@verapath.comActive$95,000
2Bob MartinezMarketingbob@verapath.comActive$72,000
3Carol WhiteEngineeringcarol@verapath.comOn Leave$88,000
4David ChenSalesdavid@verapath.comActive$65,000
5Eva RodriguezHReva@verapath.comActive$70,000
1 – 5 of 20
Rows per page:
1 / 4

Row Click Event

Click any row to select it. OnRowClick fires and the selected employee is shown below. Row click is disabled automatically when Editable=true.

Salary
1Alice JohnsonEngineeringalice@verapath.comActiveAustin$95,000
2Bob MartinezMarketingbob@verapath.comActiveChicago$72,000
3Carol WhiteEngineeringcarol@verapath.comOn LeaveRemote$88,000
4David ChenSalesdavid@verapath.comActiveNew York$65,000
5Eva RodriguezHReva@verapath.comActiveAustin$70,000
1 – 5 of 20
Rows per page:
1 / 4

Custom Cell Template

The Status column uses a CellTemplate to render a coloured badge instead of plain text.

1Alice JohnsonEngineeringalice@verapath.comActive Austin
2Bob MartinezMarketingbob@verapath.comActive Chicago
3Carol WhiteEngineeringcarol@verapath.comOn Leave Remote
4David ChenSalesdavid@verapath.comActive New York
5Eva RodriguezHReva@verapath.comActive Austin
1 – 5 of 20
Rows per page:
1 / 4

Child Rows — Same Type

Departments with employees as child rows using ChildItemsSelector. Each parent row shows an expand chevron when it has children. All columns are shared between parent and child rows. Export includes an Include child rows option so children appear indented in the XLSX.

Email
EngineeringDepartmenteng@verapath.comAustin
MarketingDepartmentmkt@verapath.comChicago
SalesDepartmentsales@verapath.comNew York
DesignDepartmentdesign@verapath.comRemote
HRDepartmenthr@verapath.comAustin
1 – 5 of 5
Rows per page:
1 / 1

Child Rows — Custom Template

Each expanded row shows a custom details panel via ChildRowTemplate. The template content spans all columns and can contain any Blazor markup.

Salary
1Alice JohnsonEngineeringalice@verapath.comActiveAustin$95,000
2Bob MartinezMarketingbob@verapath.comActiveChicago$72,000
3Carol WhiteEngineeringcarol@verapath.comOn LeaveRemote$88,000
4David ChenSalesdavid@verapath.comActiveNew York$65,000
5Eva RodriguezHReva@verapath.comActiveAustin$70,000
1 – 5 of 20
Rows per page:
1 / 4

Dark Mode

Force Theme="dark" on the grid independently of the page theme toggle.

Salary
1Alice JohnsonEngineeringalice@verapath.comActiveAustin$95,000
2Bob MartinezMarketingbob@verapath.comActiveChicago$72,000
3Carol WhiteEngineeringcarol@verapath.comOn LeaveRemote$88,000
4David ChenSalesdavid@verapath.comActiveNew York$65,000
5Eva RodriguezHReva@verapath.comActiveAustin$70,000
1 – 5 of 20
Rows per page:
1 / 4
An unhandled error has occurred. Reload x