GridControl
Sortable, filterable, groupable data grid. Click a header to sort, drag to reorder, right-click for menu.
Drag a column header here to group by that column
| ID | Name | Department | Role | Salary | Hire Date |
|---|---|---|---|---|---|
Other Grid Demos
Markup
<GridControl TValue="Person" DataSource="@_people"
AllowSelection="true" AllowSorting="true"
AllowFiltering="true" AllowGrouping="true"
AllowResizing="true" EnableHover="true" Height="420px">
<GridColumnsBase>
<GridColumn Field="Id" HeaderText="ID" Width="60px"
Type="ColumnType.Number" TextAlign="TextAlign.Right" />
<GridColumn Field="Name" HeaderText="Name" Width="160px" />
<GridColumn Field="Department" HeaderText="Department" Width="160px" />
<GridColumn Field="Role" HeaderText="Role" Width="160px" />
<GridColumn Field="Salary" HeaderText="Salary" Width="120px"
Type="ColumnType.Number" Format="C0" TextAlign="TextAlign.Right" />
<GridColumn Field="HireDate" HeaderText="Hire Date" Width="120px"
Type="ColumnType.Date" Format="d" />
</GridColumnsBase>
</GridControl>