How could I stay in current tab, after any reload action?
How could I stay in current tab, after any reload action?
ylopezco
Posts: 1Questions: 1Answers: 0
I have two tables, and two related tabs. How could I stay in current tab, after any reload action? Each table have edit/delete actions button but when I edit from tab 2 after edit and reaload shows the tab 1 table. I just want to keep in current tab. Any suggestions, please?
Answers
Are you using the Editor or your won code for editing?
How are you reloading? I don't think
ajax.reload()
or any other Datatables API will change the displayed tab as these are independent of Datatables.Can you post a link to your page or a test case replicating the issue so we can see what you have and to help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin