Hi Matias,
There is a bit difference between using a row with the select
method and when its done through user interaction and the main difference is that the user interaction set an focus attribute on the row.
Anyway you can achieve this functionality and I have created a quick code snippet on how to achieve this:
this.grid.select(0);
setTimeout(() => {
let row:any = document.querySelectorAll('smart-grid-row')[0];
row.setAttribute('focus', '')
}, 500);
Let me know if that works for you!
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/