The loaded event handler is a function that is called at the end the wijgrid's lifecycle when wijgrid is filled with data and rendered. You can use this event to manipulate the grid html content or to finish a custom load indication.
Syntax
Javascript (Usage) | |
---|
$(function () {
// Set loaded event handler function
$(".selector").wijgrid({
loaded : function (e) {
}
});
});
|
Javascript (Specification) | |
---|
loaded = function (
: Object
) { };
|
Parameters
- e
- The jQuery.Event object.
Example
// The loaded event in the sample below ensures that whatever is selected on load is cleared
$("#element").wijgrid({
loaded: function (e) {
$(e.target).wijgrid("selection").clear(); // clear selection
}
});
See Also
Reference
options type
wijgrid jQuery Widget