Chapter Contents |
Previous |
Next |
Row/Column Data Vector Class: _getResizing |
Syntax | |
Details |
Syntax |
CALL SEND (data-vector-id, '_getResizing', resizing); |
Argument | Type | Description | |
---|---|---|---|
resizing |
C | returns the resizing status: | |
'Y' | the viewer is setting the column or row width or height | ||
'N' | the viewer is not setting the column or row width or height |
Details |
The _getResizing method is valid only if the viewer is a table editor. Note that the viewer, not the model, sets the resizing status. The model queries the status but does not set it.
The viewer sets the resizing status to inform the model that the width or height of a column or row is being set by the viewer. This action is known as a software resize. A software resize can occur due to either a model "fit" request or by the redistribution of space that occurs with nested rows/columns. For example, a software resize occurs when a parent column is wider than its children columns.
The resizing value should be checked by the model in the _setColumnInfo method or the _setRowInfo method. If set, the model should store the label dimension and alignment values (via the _getDimension and _getAlignment methods) so that these values can be returned to the viewer later through the _getColumnInfo or _getRowInfo method.
When the label dimension and alignment values are returned to the viewer,
set the alignment via the _setAlignment method. Do do not set
fixed
on _setDimension.
Use
fixed
only for user resizes.
The mode should discard the saved dimension and alignment values on a _clearSoftResizes method. For more information, see the Form Data Model class.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.