Pagination went decremental when deleting a row and using server-side
Pagination went decremental when deleting a row and using server-side
sharecode
Posts: 2Questions: 0Answers: 0
First, let me say I love DataTables. Useful, free, delivered by a helpful creator. Thanks, Allan.
It's been two weeks learning DataTables with PHP. So far so good. Some of problems I found basically caused by my lack of API's knowledge, which was easily fixed by searching solution this forum.
There's only one thing I'd like to mention, about deleting a row while using the server-side option: the pagination went decremental. By this, I mean deleting row within 4th page will bring you to 3rd page.
The work around I found so far was to edit manually the jquery.dataTables.js as mentioned in Barat's post.
http://www.datatables.net/forums/discussion/4933/solved-fndeleterow-ajax-and-pagination-decrement-problem/p1
The version he used was 1.7.6, while mine's 1.9.0. So I think maybe this doesn't happen to others, or at least it is not a bug. Therefore, I don't address this to Bug Reports.
That's all I found so far, may this be helpful.
Cheers.
It's been two weeks learning DataTables with PHP. So far so good. Some of problems I found basically caused by my lack of API's knowledge, which was easily fixed by searching solution this forum.
There's only one thing I'd like to mention, about deleting a row while using the server-side option: the pagination went decremental. By this, I mean deleting row within 4th page will bring you to 3rd page.
The work around I found so far was to edit manually the jquery.dataTables.js as mentioned in Barat's post.
http://www.datatables.net/forums/discussion/4933/solved-fndeleterow-ajax-and-pagination-decrement-problem/p1
The version he used was 1.7.6, while mine's 1.9.0. So I think maybe this doesn't happen to others, or at least it is not a bug. Therefore, I don't address this to Bug Reports.
That's all I found so far, may this be helpful.
Cheers.
This discussion has been closed.