0 Replies Latest reply on Apr 21, 2008 9:38 AM by tnabeel

    ScrollableDataTable Dynamic columns

    tnabeel

      I'm trying to change the sequence of columns from Name|Address/Phone to Name|Phone|Address, for example, in RichFaces scrollableDataTable at runtime. I used the binding attribute to gain a reference to HtmlScrollableDataTable in the backing bean and then modified the order of UIColumn instances in the children list. The user interface did not reflect the changes.

      If it's not possible to change the order of columns using the binding attribute, can we create the data table from scratch at runtime? Is there an example for doing this?

      I would appreciate any help here. Thanks.