wijmo.grid.wijgrid Namespace > options type : dataLoading Event |
Javascript (Usage) | |
---|---|
$(function () { // Set dataLoading event handler function $(".selector").wijgrid({ 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(); } });