How can i stay in one page(like page 5) after proccessing data?

How can i stay in one page(like page 5) after proccessing data?

munip00munip00 Posts: 2Questions: 1Answers: 0

i have more than 1000 data and i use data table, i page i use 10 data, i want to update data in page 5, how can i stay in page 5 after the proccess in DONE
Thnkas

Answers

  • colincolin Posts: 15,158Questions: 1Answers: 2,587

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • munip00munip00 Posts: 2Questions: 1Answers: 0

    owwh ya, thanks

  • kthorngrenkthorngren Posts: 20,342Questions: 26Answers: 4,776

    how can i stay in page 5 after the proccess in DONE

    Do you mean you are using draw() and the Datatable goes back to page 1? If so then use the false parameter, as described in the docs, to stay on the same page, for example .draw( false ). If this doesn't help then please post an example that Colin asked for.

    Kevin

This discussion has been closed.