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?