ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / filtered Event
The jQuery.Event object.
The data with this event.
In This Topic
    filtered Event
    In This Topic
    The filtered event handler is a function that is called after the wijgrid is filtered.
    Syntax
    var options; // Type:  jQuery.wijmo.c1gridview.options
    
          // Create a new c1gridview widget
          $(".selector").c1gridview(options);
    
          // Get a previously created c1gridview widget instance
          var widgetInstance; // Type:  jQuery.wijmo.c1gridview
          widgetInstance = $(".selector").data("wijmo-c1gridview");
    
          // Set filtered event handler function
    widgetInstance.option("filtered", function (e, args) { } );
    filtered = function ( 
       e : Object,
       args : wijmo.grid.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