ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / dataLoaded Event
The jQuery.Event object.
In This Topic
    dataLoaded Event
    In This Topic
    The dataLoaded event handler is a function that is called when data is loaded.
    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 dataLoaded event handler function
    widgetInstance.option("dataLoaded", function (e) { } );
    dataLoaded = function ( 
       e : Object
    ) { };

    Parameters

    e
    The jQuery.Event object.
    Example
    // Display the number of entries found
    $("#element").wijgrid({
    	dataLoaded: function (e) {
    		alert($(this).wijgrid("dataView").count());
    	}
    });
    Remarks
    You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ dataLoaded: function (e) { // some code here }}); * Bind to the event by type: $("#element").bind("wijgriddataloaded", function (e) { // some code here });
    See Also