Laravel-datatables: Maintain previous (latest visited) dataTable page when Navigation between web page

Created on 29 Jul 2017  路  1Comment  路  Source: yajra/laravel-datatables

I need to get the pagination of a datatable as i move to another page and then press back to previous page on the browser

on my datatable i have actions like edit, view, and so on. So forexample when i click it view a raw it takes me to another page to view details about that raw. Lets say that raw was on pagination 3. once i am done viewing that raw on another page and I want to go back to the datatables, on pressing back on browser i get back to pagination 1 instead of pagination 2.

How can i solve this

System details

  • Operating System: macOS Sierra
  • PHP Version: 5.6.29
  • Laravel Version: 5.2.31
  • Laravel-Datatables Version: ^6.11
question

Most helpful comment

Use dataTables stateSave option.

>All comments

Use dataTables stateSave option.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

techguydev picture techguydev  路  3Comments

ghost picture ghost  路  3Comments

hari-web picture hari-web  路  3Comments

shadoWalker89 picture shadoWalker89  路  3Comments

Abdulhmid picture Abdulhmid  路  3Comments