This is possible to do. You just have to select the right class to scroll to. The element that gets the dynamic row class is not rendered, making it a bit complicated.
- Add a dynamic row class to the data grid for the item you want to scroll to. For example ‘selected’,
- Run the app and inspect on which element the class is added to. Probably it is the ‘.tr’ element. This element is set to display: contents, which means it is not rendered and it is not possible to scroll to.
- To solve this choose a child element inside the tr element to scroll to, for example a ‘.td’ element.
- The scrollto action input would then be: ‘.selected .td’. The first element with class td inside an element with class selected.