SmartRendering posStart and Count

I am using smart rendering for the grid, one of the user requirement is to set the background color of the grid depending on the value in the cell. I am planning to use the following code the achieve the function. Is there an api that I can use to figure out the posStart and count of the data being returned from the backend?

            mygrid.attachEvent("onXLE", function() {
                //alert("change color");
                changeColor();
            });

Technically you can access xml object, and poll necessary info, but it is not very reliable way.

Instead you can use

grid.attachEvent("onRowCreated",function(id){ doColoringFor(id); })

Great suggestion, this works!