Expand my Community achievements bar.

how to script table rows to jump to next content area?

Avatar

Former Community Member

I need some scripting help. I am not very experienced at scripting and need help with a table. I have a table with two rows 1.HeaderRow 2.Row1. I have a content area in in Page2 in "Master Pages" labeled Extension. The Row1 will repeat multiple times but I want only 4 rows to appear on the first page then have the HeaderRow and rest of the rows to appear in the second page labeled Extension.

I think this can only be done with scripting and so far I have one line of script under the "Initialize" event of the Table1 which will do the count for anything after 4, but then I am lost. Please help hopefully image will give better sense of layout.

if (Table1.Row1.instanceManager.count>4){

Need logic here to move rows + header to Content Area "Extension".

}

Hierarchy.jpgtable.jpg

0 Replies