Wijmo UI for the Web
filtered Event
The jQuery.Event object.
The data with this event.
The filtered event handler is a function that is called after the wijgrid is filtered.
Syntax
Javascript (Usage) 
var instance; // Type: options
instance.filtered = function(e, args) { };
Javascript (Specification) 
filtered = function ( 
   e : Object,
   args : IFilteredEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// 
$("#element").wijgrid({
    filtered: function (e, args) {
        alert("The filtered data contains: " + $(this).wijgrid("dataView").count() + " rows");
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ filtered: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridfiltered", function (e, args) { // some code here });

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.