DHTMLX Docs & Samples Explorer

onDynXLS Event

Occurs before requesting additional data from the server in case of dynamic smart rendering or dynamic paging. Blockable.

          grid.attachEvent("onDynXLS", function(start,count){
                    //any custom logic here
          });

Parameters:

  • start - {int} position from which data requested;
  • count - {int} count of rows requested.

This event can be used to implement custom URI building in dynamic loading.

          grid.attachEvent("onDynXLS", function(start,count){
                   grid.load("some.com/load/"+start+"?size="+count);
                   return false;
          });