:: Documentation >>

sort model

Sort data.

Syntax

var value = obj.getSortProperty(name); // Retrieve property by name
obj.setSortProperty(name, value);      // Assign property value
obj.defineSortProperty(name, value);   // Define new property

var external = obj.getSortModel();     // Get reference to external model
obj.setSortModel(external);            // Assign external model
obj.clearSortModel();                  // Clear/reset all properties

Properties

columnIndex of the last sorted column.
directionSort direction.

Defined in

AW.UI.Grid

Comments

onSortDirectionChanged fires before the sort hannes (2)
Type of sorting (1)
External sort model? Kevin (2)
setting the sort indicator manually Joe Hudson (5)
How I can change type of sorting? (0)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5