Focus lost on pagination or after search
Focus lost on pagination or after search

Hi!
Where is the best place to put the focus in a cell?
I want to place the focus in the last column of the first row.
I tried several options like drawCallback but after doing a search or paging sometimes lost focus.
drawCallback: function (settings) {
var api = this.api ();
api.cell (0, ': last-child') focus ().
}
May be the problem is with the ajax call?
I have live sample on http://pime.cloudapp.net/pages/login.aspx
User: test / Password:% test%
Under HR -> Sectors
Thanks in advance,
Felix
This discussion has been closed.