Specifies the state of the component.
Definition
Namespace:Telerik.Blazor.Components.Common.Grid.State
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public abstract class TableStateBase<TItem>
Inheritance: objectTableStateBase<TItem>
Derived Classes:
Constructors
protected TableStateBase()
Properties
Defines the edit field that is in edit. Used for incell editing.
public string EditField { get; set; }
EditItem
TItem
Defines the updated item while editing.
public TItem EditItem { get; set; }
Defines the filtering criteria for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
public ICollection<IFilterDescriptor> FilterDescriptors { get; set; }
InsertedItem
TItem
Defines the newly added item.
public TItem InsertedItem { get; set; }
OriginalEditItem
TItem
Defines the original item in the Grid Data that is in edit.
public TItem OriginalEditItem { get; set; }
Defines the page to be loaded in the Grid. Page Parameter will be updated accordingly.
public int? Page { get; set; }
Defines the searchbox-generated filter for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
public IFilterDescriptor SearchFilter { get; set; }
SelectedItems
ICollection<TItem>
Defines the selected items in the Grid. Updates the SelectedItems parameter accordingly.
public ICollection<TItem> SelectedItems { get; set; }
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.
public int? Skip { get; set; }
Defines the sorting criteria for the Grid Data. Accepts SortDescriptor.
public ICollection<SortDescriptor> SortDescriptors { get; set; }
Defines the table width of the grid. Related to the proper persistence of table content metrics when resizing columns.
public string TableWidth { get; set; }