RecroGridSetSort Method

Setting up sorting.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.2.0.24.0426.1
C#
protected void SetSort(
	string alias,
	int sort,
	bool clearSort = false
)

Parameters

alias  String
The identifier of the column Alias.
sort  Int32
Priority of sorting starts from 1. In case of negative value, it is in descending order.
clearSort  Boolean  (Optional)
Indicates whether to clear all previous sorting settings.

See Also