Class
TableStateBase<TItem>

Specifies the state of the component.

Definition

Namespace:Telerik.Blazor.Components.Common.Grid.State

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

Syntax:

cs-api-definition
public abstract class TableStateBase<TItem>

Inheritance: objectTableStateBase<TItem>

Derived Classes: GridState<TItem>TreeListState<TItem>

Constructors

TableStateBase()

Declaration

cs-api-definition
protected TableStateBase()

Properties

EditField

Defines the edit field that is in edit. Used for incell editing.

Declaration

cs-api-definition
public string EditField { get; set; }

Property Value

string

EditItem

Defines the updated item while editing.

Declaration

cs-api-definition
public TItem EditItem { get; set; }

Property Value

TItem

FilterDescriptors

Defines the filtering criteria for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.

Declaration

cs-api-definition
public ICollection<IFilterDescriptor> FilterDescriptors { get; set; }

Property Value

ICollection<IFilterDescriptor>

InsertedItem

Defines the newly added item.

Declaration

cs-api-definition
public TItem InsertedItem { get; set; }

Property Value

TItem

OriginalEditItem

Defines the original item in the Grid Data that is in edit.

Declaration

cs-api-definition
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

cs-api-definition
public int? Page { get; set; }

Property Value

int?

SearchFilter

Defines the searchbox-generated filter for the Grid Data. Accepts FilterDescriptor and CompositeFilterDescriptor.

Declaration

cs-api-definition
public IFilterDescriptor SearchFilter { get; set; }

Property Value

IFilterDescriptor

SelectedItems

Defines the selected items in the Grid. Updates the SelectedItems parameter accordingly.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public int? Skip { get; set; }

Property Value

int?

SortDescriptors

Defines the sorting criteria for the Grid Data. Accepts SortDescriptor.

Declaration

cs-api-definition
public ICollection<SortDescriptor> SortDescriptors { get; set; }

Property Value

ICollection<SortDescriptor>

TableWidth

Defines the table width of the grid. Related to the proper persistence of table content metrics when resizing columns.

Declaration

cs-api-definition
public string TableWidth { get; set; }

Property Value

string