Sign in to Community
Sign in to view all badges
I have a form that's a single page with a table. The table has buttons that deletes and adds rows. I want the rows to fall onto a second page. If I create the 2nd page, the table overflows just fine. How do I hide the 2nd page until it is needed?
Normally pagination will do that for you automatically.
Basically you have a page with flowed content - top to bottom:
Then you add a dynamic table (I hard coded it with 25 rows which is like someone using the buttons to add 25 times) into that page. Because they fit on the first page you do not see the second page.
That makes one page
Changing it to 50 rows, the second page is created automagically. You do not need to create a second page manually.