DataTable.AutoScrollSelectedObs

Prototypes

void AutoScrollSelectedObs( <boolean bAutoScroll> )

Parameters

boolean bAutoScroll
If bAutoScroll is true, the data table will scroll automatically so that the selected observations are visible. If bShow is false, the data table will not scroll automatically as observations are selected. Calling this method without a parameter is equivalent to calling it with bAutoScroll equal to true.

Remarks

This method controls whether the data table scrolls automatically as observations are selected.

Example
x = T(1:100);
declare DataObject dobj;
dobj = DataObject.Create( "Sample", x );
declare DataTable table;
table = DataTable.Create( dobj );
table.ActivateWindow();
table.AutoScrollSelectedObs();
dobj.SelectObs( 75 );