Class GridState<T>
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents the current paging, sorting, and filtering for a MudDataGrid<T>.
public class GridState<T>
Type Parameters
T
The kind of item managed by the grid.
- Inheritance
-
GridState<T>
- Inherited Members
- Extension Methods
Constructors
GridState()
public GridState()
Properties
FilterDefinitions
The current filters applied to grid values.
public ICollection<IFilterDefinition<T>> FilterDefinitions { get; set; }
Property Value
Page
The current page being displayed. The page index is zero-based.
public int Page { get; set; }
Property Value
PageSize
The maximum number of items displayed on each page.
public int PageSize { get; set; }
Property Value
SortDefinitions
The current sorting applied to grid values.
public ICollection<SortDefinition<T>> SortDefinitions { get; set; }