Check documentation for the latest version of dhtmlxSuite onDataRequest DHTMLX Docs

onDataRequest

called when component issues dynamic request for a data

boolean onDataRequest(number start,number count);
startnumberrequest data from start position
countnumberrequest count records
booleantrue - to trigger data loading, false - to block it

Example

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

Details

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

Back to top