Scroll To Specific Row in Grid


I am using following way to load data into the grid:<URL>);"Load", function () {
         grid.scrollTo(id, "EmployeeName");        

Here scroll to specific row is not working. And after everything is loaded completely and I try to run grid.scrollTo(id, “EmployeeName”); using console, then it takes me to specific row, but not using above code.

Please correct me if I am missing something.


Please, try to wrap the scrollTo method in the awaitRedraw:<URL>);"Load", function () {
dhx.awaitRedraw().then(function() {
         grid.scrollTo(id, "EmployeeName");     

Thanks a lot @sematik . It’s working fine :slightly_smiling_face: