New to Telerik UI for BlazorStart a free 30-day trial

Specifies the state of the component.

Definition

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

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

Syntax:

C#
public abstract class TableStateBase<TItem>

Inheritance: objectTableStateBase<TItem>

Derived Classes: GridState<TItem>TreeListState<TItem>

Constructors

C#
protected TableStateBase()

Properties

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

C#
public string EditField { get; set; }

Defines the updated item while editing.

C#
public TItem EditItem { get; set; }

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

C#
public ICollection<IFilterDescriptor> FilterDescriptors { get; set; }

Defines the newly added item.

C#
public TItem InsertedItem { get; set; }

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

C#
public TItem OriginalEditItem { get; set; }

Defines the page to be loaded in the Grid. Page Parameter will be updated accordingly.

C#
public int? Page { get; set; }

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

C#
public IFilterDescriptor SearchFilter { get; set; }

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

C#
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.

C#
public int? Skip { get; set; }

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

C#
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.

C#
public string TableWidth { get; set; }