jQuery.wijmo.wijgrid Namespace > options type : dataLoading Event |
Javascript (Usage) | |
---|---|
var instance; // Type: options instance.dataLoading = function(e) { }; |
Javascript (Specification) | |
---|---|
dataLoading = function ( e : Object ) { }; |
// This sample allows you to set the session ID when loading a portion of data from the remote wijdatasource: $("#element").wijgrid({ data: new wijdatasource({ proxy: new wijhttpproxy({ // some code here }) }), dataLoading: function (e) { var dataSource = $(this).wijgrid("option", "data"); dataSource.proxy.options.data.sessionID = getSessionID(); } });