Wijmo UI for the Web
loading Event
The jQuery.Event object.
The loading event handler is a function that is called at the beginning of the wijgrid's lifecycle. You can use this event to activate a custom load progress indicator.
Syntax
Javascript (Usage) 
$(function () {
    // Set loading event handler function
    $(".selector").wijgrid({
        loading : function (e) {
     
        }
    });
});
Javascript (Specification) 
loading = function ( 
   e : Object
) { };

Parameters

e
The jQuery.Event object.
Example
// Creating an indeterminate progressbar during loading
$("#element").wijgrid({
    loading: function (e) {
        $("#progressBar").show().progressbar({ value: false });
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ loading: function (e) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridloading", function (e) { // some code here });

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.