var instance; // Type: wijmo.grid.IDetailSettings; var value; // Type: any value = instance.dataLoading;
var dataLoading : any;
The dataLoading event handler is a function that is called when the wijgrid loads a portion of data from the underlying datasource. This can be used for modification of data sent to server if using dynamic remote wijdatasource.
var instance; // Type: wijmo.grid.IDetailSettings; var value; // Type: any value = instance.dataLoading;
var dataLoading : any;
// 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(); } });