GridTItem Class
Use Blazor Bootstrap grid component to display tabular data from the data source. It supports client-side and server-side paging and sorting.
Namespace: BlazorBootstrapAssembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class Grid<TItem> : BlazorBootstrapComponentBase
where TItem : class
- Inheritance
- Object ComponentBase BlazorBootstrapComponentBase GridTItem
Type Parameters
- TItem
- Data model to apply to the grid.
| GridTItem | Initializes a new instance of the GridTItem class |
| AllowRefresh |
If set to , the user is allowed (with 30-second timeout) to refresh the grid,
to see whether new items have been added. This is mostly useful for log tables.
|
| AllowSelect |
Whether we allow items to be selected, using a checkbox in the first column.
|
| ChildContent |
Gets or sets the content to be rendered within the component.
|
| DataProvider |
DataProvider is for items to render.
The provider should always return an instance of 'GridDataProviderResult', and 'null' is not allowed.
|
| DisableAllRowsSelection |
Enable or disable the header checkbox selection.
|
| DisableRowSelection |
Enable or disable the row level checkbox selection.
|
| EmptyText |
Gets or sets the empty text.
Shows text on no records.
|
| Loc |
Localization service.
|
| OnRowClick |
This event is triggered when the user clicks on the row.
Set AllowRowClick to to enable row clicking.
|
| OnRowDoubleClick |
This event is triggered when the user double-clicks on the row.
Set AllowRowClick to to enable row double-clicking.
|
| PageSize |
Gets or sets the page size.
|
| SelectedItemsChanged |
This event is fired when the item selection changes.
|
| SelectionMode |
Gets or sets the grid selection mode.
|