This question is locked. New answers and comments are not allowed.
Hello,
I want to set focus on 'add new record' of grid after the data bound event is finished. So, in onDataBound event, at the end I write as follows. But it is not working.
I want to set focus on 'add new record' of grid after the data bound event is finished. So, in onDataBound event, at the end I write as follows. But it is not working.
$('.t-grid-add').focus();
What is going wrong in this? Also, I noted that this works initially when grid data is first time loaded.
But in the edit mode, after the record is updated and grid data bound is fired, that time it
does not set the focus.
Note: grid is set to KeyboardNavigation()