테이블 상자 안의 전체 테이블을 대체 할 수있는 함수가 있습니까?빈 / 기본 테이블 상자가 팝업되어 있고 아래 스크립트를 사용하여 전체 테이블 상자를 바꾸려고했습니다. [table box]를 다음과 같이 업데이트 할 수있는 방법이 있습니까?
지금 사용하고있는이 스크립트는 지루합니다.
button box("UPDATE",
dtmain = Open(filename, invisible);
tb << delete row( 1 );
tb << delete row( 1 );<BR /> // 50 lines of delete row()<BR />
tb << insert row( 1, {"a", 1} );
tb << insert row( 1, {"b", 2} ); <BR /> // 50 lines of insert row()
);미리 감사드립니다 
제목 : Re : 테이블 상자 안의 전체 테이블을 대체 할 수있는 함수가 있습니까?테이블을 삭제하고 교체하는 것이 더 쉽다는 것을 알게되었습니다. 아래의 간단한 스크립트는 방법론을 보여줍니다.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
New Window( "The Table",
vlb = V List Box(),
theButton = Button Box( "UPDATE",
Try( theTable << delete );
theList = {};
Insert Into( theList, dt:Name[Random Integer( 1, 40 )] );
Insert Into( theList, dt:Name[Random Integer( 1, 40 )] );
theTable = Table Box( String Col Box( "Name", theList ) );
vlb << append( theTable );
)
);
// Initialize the table
theList = {};
Insert Into( theList, dt:Name[Random Integer( 1, 40 )] );
Insert Into( theList, dt:Name[Random Integer( 1, 40 )] );
theTable = Table Box( String Col Box( "Name", theList ) );
vlb << append( theTable );