<sas:Column>
Used to map data model's column to the TableView's column.
This tag must be nested within a sas:Columns tag.
Syntax
<sas:Column modelIndex="-1..int"
[headerValue="java.lang.String"]
[hold="LEFT|RIGHT"]
[id="value"]>
[<sas:ColumnHeaderRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas:CellContentsSimpleTemplateRenderer>]
[<sas:CellContentsRenderer .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:ColumnHeaderRenderer>]
[<sas:CellRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas:CellContentsSimpleTemplateRenderer>]
[<sas:CellContentsRenderer .../>]
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellRenderer>]
[<sas:CellEditor ...>
[<sas:CellContentsCheckBoxEditor ...>
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:CellContentsCheckBoxEditor>]
[<sas:CellContentsChoiceBoxEditor ...>
[<sas:StyleInfo .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsChoiceBoxEditor>]
[<sas:CellContentsListBoxEditor ...>
[<sas:StyleInfo .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsListBoxEditor>]
[<sas:CellContentsRadioEditor ...>
[<sas:StyleMapKey .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsRadioEditor>]
[<sas:CellContentsTextAreaEditor ...>
[<sas:StyleInfo .../>]
[<sas:RequiredStringValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsTextAreaEditor>]
[<sas:CellContentsTextEntryEditor ...>
[<sas:StyleInfo .../>]
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:CompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CompositeValidator>]
[<sas:MaximumValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MaximumValueCompositeValidator>]
[<sas:MinimumValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinimumValueCompositeValidator>]
[<sas:MinMaxValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinMaxValueCompositeValidator>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsTextEntryEditor>]
[<sas:CellContentsEditor .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellEditor>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:Column>
Attributes
headerValue | The value to display as the column header in the TableView. If not set then the data model's column name will be used. |
---|---|
hold | Which side to hold the column. |
id | Case-sensitive name used to identify the object instance. |
modelIndex | The index of the column in the data model to map to this column in the column model. This number is 0-based since this is the column index from the data model. The viewer's column indexes are 1-based. If set to -1 the column will be a custom column and not map to any column in the data model. |
More Information
To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.tableview.TableColumn.
If you need to subclass the tag handler class for the sas:Column tag, extend com.sas.taglib.servlet.tbeans.tableview.ColumnTag.