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

Hi,

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

any help is much appreciated

Regards

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.

Hi sematik,

is there any other way that i can achieve this.

thanks

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.

1 Like
let idx = proj.auditGrid.getRowIndex("79979");
proj.auditGrid.render_row(idx);
proj.auditGrid.showRow("79979");

This did work.

Thank you sematik :slight_smile: