How to get row id

Hi All,

I have 200 rows in a grid and rendering 50 records at a time.

gridObj.enableSmartRendering(true, 50);

i am trying to put some color in the cell on onXlE method.

gridObj.attachEvent(“onXLE”, function(){
var allRowIds = gridObj.getAllRowIds();
var rows = allRowIds.split(",");
for(var i=0; i<rows.length;i++){
//- color the cell
}
});

My question is ‘gridObj.getAllRowIds()’ methods will return me all the rowId which are
render in the grid.

Is any method available which will return the only rowid which render recently?

Suppose my first 50 row is already render.
when i scroll the grid again the next 50 record will render.
so i want the rowid of 51 to 100 record not the 0 to 100 record.

Thanks & Regards,
Abhi

You may try to use onRowCreated event:
docs.dhtmlx.com/doku.php?id=dhtm … rowcreated