Check documentation for the latest version of dhtmlxSuite onDataRequest DHTMLX Docs

onDataRequest

called when component issues dynamic request for a data

void onDataRequest(number start,number count){ ... };

Parameters

startnumberrequest data from start position
countnumberthe number of records in the request

Example

data.attachEvent("onDataRequest", function(start, count){
    return true;
});

Details

The event is blockable. Returning false from the event handler will prevent data loading.

Back to top