:: Home >>

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

1 Dec 09
onSortDirectionChanged fires before the sort hannes (2)
30 Jan 08
Type of sorting (1)
26 Aug 07
External sort model? Kevin (2)
28 Nov 06
setting the sort indicator manually Joe Hudson (5)
16 May 06
How I can change type of sorting? (0)

Comments will appear on this page and in the main forum.

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