SortChanged: function(sender, args);
sender. Event source.
args. Event information:
Caption. Number. Sorting column index.
Direction. String. Sorting direction.
Method. String. Sorting method.
The SortChanged event occurs after changing sorting.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get title caps = Tree.getCaptions(); // Set event caps.SortChanged.add( function(sender, args) { console.log("SortChanged event:"); console.log(args); }); // Initialize event by changing column sorting by mouse
After executing the example the SortChanged event is added.
See also: