Class
GridState<TItem>

The class that contains the state of the Telerik Grid Component.

Definition

Constructors

GridState()

Declaration

cs-api-definition
public GridState()

Properties

CollapsedGroups

Defines the collapsed groups in the GridData. Use together with GroupDescriptors. The collapsed groups can be defined only for the current page.

Declaration

cs-api-definition
public ICollection<int> CollapsedGroups { get; set; }

Property Value

ICollection<int>

ColumnStates

Defines the column state of the configured columns in the Grid. Used for changing the indices of the columns and their width.

Declaration

cs-api-definition
public ICollection<GridColumnState> ColumnStates { get; set; }

Property Value

ICollection<GridColumnState>

ExpandedItems

Defines the expanded items in the Grid. The expanded items can be defined only for the current page.

Declaration

cs-api-definition
public ICollection<TItem> ExpandedItems { get; set; }

Property Value

ICollection<TItem>

GroupDescriptors

Defines the grouping criteria for the Grid Data. Accepts GroupDescriptor.

Declaration

cs-api-definition
public ICollection<GroupDescriptor> GroupDescriptors { get; set; }

Property Value

ICollection<GroupDescriptor>