This isn't currently supported by default, but it is possible to do. One way to 
do it would be to set a drag source on the header (see the drag/drop section of 
the tutorial). Another would be to do it "by hand" using a mouse listener, etc. 
I think I might start with the drag source approach.
G

On Aug 24, 2010, at 4:50 PM, JohnRodey wrote:

> 
> Thanks, that really helped me.
> 
> Just curious if there is a way for a user to drag columns to another spot in
> the table.  For example, my table headers look like:
> 
> |     NAME     |    AGE    |   WEIGHT   |      ID     |
> 
> Can a user drag ID to the front?
> 
> |      ID     |     NAME     |    AGE    |   WEIGHT   |
> 
> If there is not a way out-of-the-box, any ideas on how to go about that?
> 
> Thanks
> -- 
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/TableView-Column-Format-Question-tp1190306p1319919.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to