Hy guys,
Using EJ2, VS2017, MVC5...
I am trying to select the first row in a grid just after loading the page. I tried to do it as follow:
None of rows is selected by using .SelectRowIndex() as shown in the picture before.
So I made a test to select first row by clicking a button:
Once the page is loaded the code doesn't work even clicking the button many times. Just after I click on the grid the code starts working (it does select first row by clicking the button!) even when focus isn't in grid...
I need to have first row selected on page load. What am I doing wrong?
Thanks