Export all selected rows(to Excel) in JSP when working with Pagination

Export all selected rows(to Excel) in JSP when working with Pagination

syedriponsyedripon Posts: 1Questions: 1Answers: 0

Hi: I have a JSP page that shows data from the database. 1st column is the Checkbox. In the header, we have the 1st item as the CheckboxAll. when Select this one, we are selecting all rows. It shows the total number of rows. But due to pagination we see 10 rows on each page. So if 13 rows then we see 10 on 1st page and 3 on the 2nd page. But when I am exporting them(all 13) by selecting another button at the bottom outside of the Displaytag, I see it is carrying only the visible 1st page with 10 rows not all 13. So at any time, it only exporting the selected rows from the current page. How can I export all or Selected rows from diufferent page if needed. Thanks.

This discussion has been closed.