The commandSortHeader component is used in conjunction with a dataTable.
The commandSortHeader renders a clickable column header facet allowing the user to toggle
the sort order of data in the table, either ascending or descending based on the values in
the column.
The commandSortHeader can be used to provide a user-controlled data sorting
capability to a dataTable.
| Attributes |
| Name | Required | Request-time | Type | Description |
| rendered | false | false | java.lang.String | If false, this component will not be rendered. |
| binding | false | false | java.lang.String | Component binding. |
| renderedOnUserRole | false | false | java.lang.String |
If user is in given role, this component will be rendered normally. If not, nothing is
rendered and the body of this tag will be skipped.
|
| columnName | true | false | java.lang.String |
The name of this column.
This name must uniquely identify this column among all other (sortable) columns
in the same data_table.
The sortColumn attribute of the embedding data_table reflects the current
sort column (see extended data_table).
|
| arrow | false | false | java.lang.String |
Indicates whether an arrow, that shows the sort direction should be rendered.
Default: false
|
| disabled | false | false | java.lang.String |
Flag indicating that this element must never
receive focus or be included in a subsequent
submit.
|
| enabledOnUserRole | false | false | java.lang.String |
If user is in given role, this component will be rendered normally. If not, the component will be
in disabled state.
|
| value | false | false | java.lang.String |
The current value of this component.
|