How could I stay in current tab, after any reload action?

How could I stay in current tab, after any reload action?

ylopezcoylopezco Posts: 1Questions: 1Answers: 0
edited May 2023 in Free community support

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

  • kthorngrenkthorngren Posts: 21,340Questions: 26Answers: 4,954
    edited May 2023

    but when I edit from tab 2 after edit and reaload shows the tab 1 table

    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

Sign In or Register to comment.