I am a bit confused. Given the below table
![expand1.PNG expand1.PNG](https://community.jmp.com/t5/image/serverpage/image-id/33204i00EF3E2165FE714B/image-size/large?v=v2&px=999)
Your script creates
![expand2.PNG expand2.PNG](https://community.jmp.com/t5/image/serverpage/image-id/33205i324FEC714A66915C/image-size/large?v=v2&px=999)
Which is what my understanding is what you want.
Here is my script, using your code that creates the above data table and it's expansion
Names Default To Here( 1 );
// Create a table with 25 rows
dt = New Table( "Example",
Add Rows( 25 ),
New Script( "Source", Data Table( "Untitled 97" ) << Subset( All rows, Selected columns only( 0 ) ) ),
New Column( "Column 1",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values(
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
)
)
);
Wait( 5 );
// Now create the new rows
For( i = N Rows( dt ), i >= 1, i--,
dt << Add Rows( 5, i )
);
Jim