Displaying records using Pagination, if no selected page then doesn't allow to go to next page

Displaying records using Pagination, if no selected page then doesn't allow to go to next page

DSinghDSingh Posts: 6Questions: 4Answers: 0

I have an issue with one of my pages in my website that, if i don't have a row/record/value selected on the first page that is due to pagination in my DataTable, I am unable to go to the next page when there are rows selected in the subsequent pages.

The issue:
Displays first ten records using pagination. Now, since the selected page is outside of currently displayed selected record then validation thinks there is no page selected, thus not allowing us to go to the next page, however there really is a record selected but outside of the first ten pages shown from pagination.
This is the page in view in question, it is the view where we employ DataTables.

The main record we are editing actually has pages selected but they are out of the default "show" 10 records range, so validation thinks we have no records selected when we click on "next" button on that page.

The workaround:
We show them that you “show” not 10 but say 25 records, and now that we show 25 records we are able to see the selected records that belong to the parent record and since we see them validation also sees them(and is on the first page of the pagination) and therefore allowed us to go to the next screen because they are on the screen and the validation works because they are on the screen.

Any help is appreciated. Thanks!

Answers

This discussion has been closed.