Chapter Contents

Previous

Next
Table Editor: _setAttributes

Table Editor: _setAttributes



Sets the attributes of the table


Syntax
Attribute List

Syntax

CALL SEND (table-id, '_setAttributes', attr-list);

Argument Type Description
attr-list
N specifies the identifier of an SCL list that contains any number of the named attributes listed in the table provided in Attribute List.

Attribute List
Attribute Name Type Default Description
'COLUMN_LABELS' C 'Y' indicates the display of column label cells.
'CONFORM_COLUMNS' C 'N' indicates conformed columns. When conformed columns are enabled, if the width of the table editor is less than the width of the region, then the columns are resized proportionally to include the extra space; thus, the table editor is flush with the right edge of the region. See also _setColumnConformThreshold.
'CONFORM_ROWS' C 'N' indicates conformed rows. When conformed rows are enabled, if the height of the table editor is less than the height of the region, then the rows are resized proportionally to include the extra space; thus, the table editor is flush with the bottom edge of the region. See also _setRowConformThreshold.
'DATA_BUTTONS' C 'N' indicates the display of data cells with a push-button-like border.
'DOUBLE_CLICK' C 'N' indicates whether a double click event drives the table editor's object label.
'EDIT' C 'N' indicates whether the data from the model can be edited. In the data table, table editor, or subclasses of the table editor with Data Set Data Model, the EDIT attribute is set to "Y" by default.
'GRID' C 'Y' indicates the display of grid lines.
'IN_CELL_CONTROLS' C 'Y' indicates the display of host controls (such as a spin box or combo box) that can be used to assist data entry in the cell (defaults to text field).
'LABEL_BUTTONS' C 'Y' indicates the display of label cells with a pushbutton-like border.
'MULTIPLE_SELECTIONS' C 'N' indicates whether multiple selections are allowed. See Multiple Selections for more information.
'PARTIAL_COLUMNS' C 'Y' indicates the display of partial columns.
'PARTIAL_ROWS' C 'Y' indicates the display of partial rows.
'RESIZE_COLUMN_LABELS' C 'N' indicates the ability to resize column label cell heights interactively. If this value is set to 'Y', then cursor tracking is turned on for the table editor.
'RESIZE_COLUMNS' C 'N' indicates the ability to resize column widths interactively. If this value is set to 'Y', then cursor tracking is turned on for the data table. In the data table, table editor, or subclasses of the table editor with Data Set Data Model, the RESIZE_COLUMNS attribute is set to "Y" by default.
'RESIZE_ROW_LABELS' C 'N' indicates the ability to resize row label cell widths interactively. If this value is set to 'Y', then cursor tracking is turned on for the table editor.
'RESIZE_ROWS' C 'N' indicates the ability to resize row heights interactively. If this value is set to 'Y', then cursor tracking is turned on for the table editor.
'ROW_LABELS' C 'Y' indicates the display of row label cells.
'SELECT_ACTIVE_CELL' C 'Y' indicates the ability to select an active cell.
'SELECT_COLUMN_LABELS' C 'N' indicates whether a selection of a column label will be expanded into a selection of the entire column. See Label Selection Mode for more information.
'SELECT_COLUMNS' C 'N' indicates whether a selection of any cell, except row labels, will be expanded into a selection of the entire column containing the cell. See Column Selection Mode for more information.
'SELECT_LABELS' C 'N' indicates the ability to select (highlight) rows and columns by single clicking on their corresponding label cell. Setting this attribute is equivelant to setting the attributes of SELECT_ROW_LABELS, SELECT_COLUMN_LABELS, and SELECT_TITLES to 'Y'.
'SELECT_ROW_LABELS' C 'N' indicates whether a selection of row label will be expanded into a selection of the entire row. See also "Label Selection Mode" on Label Selection Mode for more information.
'SELECT_ROWS' C 'N' indicates whether a selection of any cell, except column labels, will be expanded into a selection of the entire row containing the cell. See Row Selection Mode for more information.
'SELECT_TITLES' C 'N' indicates whether a selection of a title label will be expanded. See Label Selection Mode for more information.
'SELECTIONS' C 'Y' indicates the ability to make selections.
'SINGLE_CLICK' C 'N' indicates whether a single click event drives the table editor's object label.
'SUPPRESS_SCROLLING_MSGS' C 'N' indicates whether the scrolling position messages are disabled for the table editor


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.