:: Documentation >> Reference >>

sort Model

Controls sorting of the grid rows.

Syntax

var model = obj.getSortModel();

or

obj.setSortModel(model);

Properties

indexSpecifies the index of a column to sort data on.
directionSpecifies the sort direction.

See Also

defineModel Method

Applies To

Active.Controls.Grid