Wijmo UI for the Web
sorted Event
The jQuery.Event object.
The data with this event.
The sorted event handler is a function that is called after the widget data is sorted. The allowSorting option must be set to "true" to allow this event to be raised.
Syntax
Javascript (Usage) 
var instance; // Type: options
instance.sorted = function(e, args) { };
Javascript (Specification) 
sorted = function ( 
   e : Object,
   args : ISortedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
You can bind to the event either by type or by name. This example binds to the event by name.
$("#element").wijgrid({ 
    sorted: function (e, args) { 
	    // some code here 
	}
});
This example binds to the event by type.
$("#element").bind("wijgridsorted", function (e, args) {
    // some code here 
});
Remarks

You can bind to the event either by type or by name. See examples.

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.