cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

怎样用脚本实现拖动到表格的最后一行、使它在可见范围

表格有很多行、如何用脚本实现拖动到表格的最后一行、使它在可见范围?谢谢!

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Rows( N Row( dt ) );
dt << Go To( Rows( N Row( dt ) ) );

2022-01-07_162729.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: 怎样用脚本实现拖动到表格的最后一行、使它在可见范围

Here is a solution.  The 

Wait( 0 );

allows for the Big Class data table to complete opening before the 

dt << Go To row( N Rows( dt ) );

is executed

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Wait( 0 );
dt << Go To row( N Rows( dt ) );
Jim

View solution in original post

3 REPLIES 3
HSS
HSS
Level IV

Re: 怎样用脚本实现拖动到表格的最后一行、使它在可见范围

Hi, Not sure if you are looking for this --

dt = Current Data Table() ;
dt << Select Rows (N Rows(dt));


Thanks.

txnelson
Super User

Re: 怎样用脚本实现拖动到表格的最后一行、使它在可见范围

Here is a solution.  The 

Wait( 0 );

allows for the Big Class data table to complete opening before the 

dt << Go To row( N Rows( dt ) );

is executed

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Wait( 0 );
dt << Go To row( N Rows( dt ) );
Jim
lwx228
Level VIII

Re: 怎样用脚本实现拖动到表格的最后一行、使它在可见范围

another way

I'm sorry I wrong

Recommended Articles