Class TableStateBase<TItem>
Specifies the state of the component.
Inheritance
Namespace: Telerik.Blazor.Components.Common.Grid.State
Assembly: Telerik.Blazor.dll
Syntax
public abstract class TableStateBase<TItem> : Object
Type Parameters
TItem
|
Constructors
TableStateBase()
Declaration
protected TableStateBase()
Properties
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
|
FilterDescriptors
Defines the filtering criteria for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
Declaration
public ICollection<IFilterDescriptor> FilterDescriptors { get; set; }
Property Value
System.Collections.Generic.ICollection<IFilterDescriptor>
|
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>
|
SearchFilter
Defines the searchbox-generated filter for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.
Declaration
public IFilterDescriptor SearchFilter { get; set; }
Property Value
IFilterDescriptor
|
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
|