Expand my Community achievements bar.

SOLVED

Overflowing table onto 2nd page

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @webmaster-lizta 

Normally pagination will do that for you automatically.

Basically you have a page with flowed content - top to bottom:

Kosta_Prokopiu_0-1599113030782.png

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.

Kosta_Prokopiu_3-1599113435179.png

That makes one page

Kosta_Prokopiu_4-1599113512434.png

Changing it to 50 rows, the second page is created automagically. You do not need to create a second page manually.

Kosta_Prokopiu_5-1599113583673.png

 

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Hi @webmaster-lizta 

Normally pagination will do that for you automatically.

Basically you have a page with flowed content - top to bottom:

Kosta_Prokopiu_0-1599113030782.png

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.

Kosta_Prokopiu_3-1599113435179.png

That makes one page

Kosta_Prokopiu_4-1599113512434.png

Changing it to 50 rows, the second page is created automagically. You do not need to create a second page manually.

Kosta_Prokopiu_5-1599113583673.png