Wijmo UI for the Web
loading Field
wijmo.grid Namespace > IWijgridOptions Interface : loading Field

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
var instance; // Type: wijmo.grid.IWijgridOptions;
var value; // Type: any
value = instance.loading;
var loading : any;
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

IWijgridOptions Interface