Enables the user to reorder the columns of the target table by dragging the column header borders.
You can persist changes to the order of the columns by binding the columnDisplay attribute to a portlet-preferences-bean property, and binding the storedPreferences attribute to the storePreferences()
method of a portlet-preferences-bean. In addition, manual processing is needed during the faces render phase to change the order of the columns in the table to match the persisted values.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.behavior.DragToReorderColumns |
Handler Class | com.webmethods.caf.faces.component.behavior.DragToReorderColumnsBehaviorHandler |
Renderer Type | com.webmethods.caf.faces.behavior.DragToReorderColumns |
Description | Allows user to resize the columns in a table by dragging the column header borders |
Palette Location | CAF Html/Control/Behaviors/Drag To Reorder Columns |
Client-Side Model | CAF.DragToReorderColumnsBehavior.Model |
Name | Required | Type | Description |
---|---|---|---|
columnDisplay | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Column display as ordered list of column ids (for persisting new column order). |
for | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| ID of control to which to apply this behavior |
id | false | java.lang.String | Control identifier |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
storePreferencesExpression | false | javax.el.MethodExpression
(signature must match void storePreferences() )
| Method to invoke to persist portlet preferences. |
Output generated by Vdldoc View Declaration Language Documentation Generator.