fnUpdate and re-select the row

fnUpdate and re-select the row

batspybatspy Posts: 3Questions: 1Answers: 0
edited December 2012 in General
Hi there, I can say that you have done a great work with your datatables..
I have an issue and it would be very helpful if you could advice me with a solution.

I perform @ some page of the grid an update @ one row using the oTable.fnUpdate method. The thing is, that after the update the datatable returns to the first page of the datatable.. As a result the user has a difficulty to find again the row he was checking.

I have the rowindex but I cannot find a suitable method to set the selected index. Could you give me an advise of how I could make a workaround if sth like that is not supporting by datatables?

Replies

  • batspybatspy Posts: 3Questions: 1Answers: 0
    Ok a solution that I came across is to retrieve the current row index before updating and re-aplply it after the update. So nevermind about my post
This discussion has been closed.