Class
GridState<TItem>

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

Definition

Constructors

GridState()

Declaration

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

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

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

public ICollection<TItem> ExpandedItems { get; set; }

Property Value

ICollection<TItem>

GroupDescriptors

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

Declaration

public ICollection<GroupDescriptor> GroupDescriptors { get; set; }

Property Value

ICollection<GroupDescriptor>