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 (
: Object
) { };
|
Parameters
- e
- The jQuery.Event object.
Example
// Creating an indeterminate progressbar during loading
$("#element").wijgrid({
loading: function (e) {
$("#progressBar").show().progressbar({ value: false });
}
});
See Also
Reference
options type
wijgrid jQuery Widget