How to remain same pagination page on table after action

后端 未结 1 440
名媛妹妹
名媛妹妹 2020-12-12 03:45

i have created a table (using datatables) and in the table a few actions. in the table i have a button to do a function \"delete\", also using datatables i get pagination..

相关标签:
1条回答
  • 2020-12-12 04:25

    There is an option named stateSave in jquery datatables. Please check the code below:

    $('#example').dataTable({ stateSave: true });
    
    0 讨论(0)
提交回复
热议问题