<sas-dv:Columns>
Used to generate or change the column model of the TableView. If orderColumns is true, then the specified columns will be displayed in the given order of the <sas:Column> subtags. If the autoCreateColumnsFromModel attribute of the <sas:TableView> tag is false, then only the columns defined within the <sas:Columns> tag will be displayed in the given order of the columns. Otherwise, if autoCreateColumnsFromModel attribute of the <sas:TableView> tag is true and orderColumns is true, then the columns defined within the <sas:Columns> tag will be displayed in the given order first and all other columns will be displayed afterwards.
This tag must be nested within a sas-dv:TableView tag.
Syntax
<sas-dv:Columns
[id="value"]
[orderColumns="true|false"]>
[<sas-dv:Column ...>
[<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>]
[<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:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:Column>, <sas-dv:SetProperty> tags...]
</sas-dv:Columns>
Attributes
id | Case-sensitive name used to identify the object instance. |
|---|---|
orderColumns | True if the columns should be displayed in the given order. |
More Information
If you need to subclass the tag handler class for the sas-dv:Columns tag, extend com.sas.taglib.servlet.tbeans.tableview.ColumnsTag.