<sas-dv:Column>
Used to map data model's column to the TableView's column.
This tag must be nested within a sas-dv:Columns tag.
Syntax
<sas-dv:Column modelIndex="-1..int"
[headerValue="java.lang.String"]
[hold="LEFT|RIGHT"]
[id="value"]>
[<sas-dv:ColumnHeaderRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv: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-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:CellContentsRenderer .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:ColumnHeaderRenderer>]
[<sas-dv:CellRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv: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-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:CellContentsRenderer .../>]
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellRenderer>]
[<sas-dv:CellEditor ...>
[<sas-dv:CellContentsCheckBoxEditor ...>
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsCheckBoxEditor>]
[<sas-dv:CellContentsChoiceBoxEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsChoiceBoxEditor>]
[<sas-dv:CellContentsListBoxEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsListBoxEditor>]
[<sas-dv:CellContentsRadioEditor ...>
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsRadioEditor>]
[<sas-dv:CellContentsTextAreaEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsTextAreaEditor>]
[<sas-dv:CellContentsTextEntryEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsTextEntryEditor>]
[<sas-dv:CellContentsEditor .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellEditor>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv: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-dv:Column tag, extend com.sas.taglib.servlet.tbeans.tableview.ColumnTag.