grid.showRow(rowID); is not scrolling to row


#1

Hi,

grid.showRow(rowID); is not working, i have smart rendering enabled. using dhtmlx treegrid component.

any help is much appreciated

Regards


#2

The showRow() method can be applied only to the rendered row.
while in the smart rendering mode only the the current grid view is rendered initially.


#3

Hi sematik,

is there any other way that i can achieve this.

thanks


#4

Please, try to use:

myGrid.render_row(row_INDEX)

to render the row by its index. After that you will be able to operate with that row.


#5
let idx = proj.auditGrid.getRowIndex("79979");
proj.auditGrid.render_row(idx);
proj.auditGrid.showRow("79979");

This did work.

Thank you sematik :slight_smile: