该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


To prevent editing cells in the data table, use Set Edit Lock with the Modify Cells argument.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Set Edit Lock( "Modify Cells" );
dt << Set Edit Lock( "Add Columns", "Delete Dolumns");
dt << Set Edit Lock( "Add Rows", "Delete Rows");
dt << Get Edit Lock();
dt << Clear Edit Lock( "Modify Cells" );
dt << Lock Data Table( 1 );