ClassTableStateBase<TItem>
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
TableStateBase()
Declaration
protected TableStateBase()
Properties
EditField
Defines the edit field that is in edit. Used for incell editing.
EditItem
Defines the updated item while editing.
Declaration
public TItem EditItem { get; set; }
Property Value
TItem
FilterDescriptors
Defines the filtering criteria for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
Declaration
public ICollection<IFilterDescriptor> FilterDescriptors { get; set; }
Property Value
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.
SearchFilter
Defines the searchbox-generated filter for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
Declaration
public IFilterDescriptor SearchFilter { get; set; }
Property Value
SelectedItems
Defines the selected items in the Grid. Updates the SelectedItems parameter accordingly.
Declaration
public ICollection<TItem> SelectedItems { get; set; }
Property Value
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.
SortDescriptors
Defines the sorting criteria for the Grid Data. Accepts SortDescriptor.
Declaration
public ICollection<SortDescriptor> SortDescriptors { get; set; }
Property Value
TableWidth
Defines the table width of the grid. Related to the proper persistence of table content metrics when resizing columns.