Need a event once the grid rendered -- DHTMLxGrid

I am applying different colors for each cell depends on some conditions, for this i am calling a javascript function. But this Javascript is getting executed before the dhtmlxgrid is rendered completely so either only the header gets the colouring or some rows in the obj table. So currently i am using settimeout function to achieve. But to sync with the dhtlmxgrid i need to know whether any event is there or some other way?

Normally you can use onXLE event - it is called when data loaded from server side to client and all rows are available for API calls.
( in case of srnd|paging mode - rows may be not rendered, but it will be processed by API calls )

Alternatively you can use onRowCreated event, which will fire for each row, after it rendered ( it is best place to custom row colorization )