Unfortunately the onXLE event firing not after the rendering of the first portion of data.
onXLE event is firing right after all the data is loaded to the grid, while the OnDistributedEnd event occurs when all the data is rendered in the grid.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan