Class GridState<TItem>
The class that contains the state of the Telerik Grid Component.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class GridState<TItem> : Object
Type Parameters
TItem
|
Constructors
GridState()
Declaration
public GridState()
Properties
CollapsedGroups
Defines the collapsed groups in the GridData. Use together with GroupDescriptors. The collapsed groups can be defined only for the current page.
Declaration
public ICollection<int> CollapsedGroups { get; set; }
Property Value
System.Collections.Generic.ICollection<System.Int32>
|
ColumnStates
Defines the column state of the configured columns in the Grid. Used for changing the indices of the columns and their width.
Declaration
public ICollection<GridColumnState> ColumnStates { get; set; }
Property Value
System.Collections.Generic.ICollection<GridColumnState>
|
EditField
Defines the edit field that is in edit. Used for incell editing.
Declaration
public string EditField { get; set; }
Property Value
System.String
|
EditItem
Defines the updated item while editing.
Declaration
public TItem EditItem { get; set; }
Property Value
TItem
|
ExpandedRows
Defines the expanded rows in the Grid. The expanded rows can be defined only for the current page, and illustrate the rendering indices of the rows.
Declaration
public ICollection<int> ExpandedRows { get; set; }
Property Value
System.Collections.Generic.ICollection<System.Int32>
|
FilterDescriptors
Defines the filtering criteria for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
Declaration
public ICollection<FilterDescriptorBase> FilterDescriptors { get; set; }
Property Value
System.Collections.Generic.ICollection<FilterDescriptorBase>
|
GroupDescriptors
Defines the grouping criteria for the Grid Data. Accepts GroupDescriptor.
Declaration
public ICollection<GroupDescriptor> GroupDescriptors { get; set; }
Property Value
System.Collections.Generic.ICollection<GroupDescriptor>
|
InsertedItem
Defines the newly added item.
Declaration
public TItem InsertedItem { get; set; }
Property Value
TItem
|
OriginalEditItem
Defines the original item in the Grid Data that is in edit.
Declaration
public TItem OriginalEditItem { get; set; }
Property Value
TItem
|
Page
Defines the page to be loaded in the Grid. Page Parameter will be updated accordingly.
Declaration
public Nullable<int> Page { get; set; }
Property Value
System.Nullable<System.Int32>
|
SelectedItems
Defines the selected items in the Grid. Updates the SelectedItems parameter accordingly.
Declaration
public ICollection<TItem> SelectedItems { get; set; }
Property Value
System.Collections.Generic.ICollection<TItem>
|
Skip
Defines items to be skiped when loading the Grid. Used for GridScrollMode.Virtual to automatically calculate the scroll position based on the items that need to be skiped.
Declaration
public Nullable<int> Skip { get; set; }
Property Value
System.Nullable<System.Int32>
|
SortDescriptors
Defines the sorting criteria for the Grid Data. Accepts SortDescriptor.
Declaration
public ICollection<SortDescriptor> SortDescriptors { get; set; }
Property Value
System.Collections.Generic.ICollection<SortDescriptor>
|
TableWidth
Defines the table width of the grid. Related to the proper persistence of table content metrics when resizing columns.
Declaration
public string TableWidth { get; set; }
Property Value
System.String
|