My clue is that you must attach function of yours on the event
usage according to Dhtmlx Docs:
"fires when the data is loaded to the grid but hasn't been rendered
// your code here
I think this is pretty much what you need.