Drag and drop TableView column reordering is possible with Pivot, but
it is not provided.

I don't have my source code available at the moment, but I think I
achieved this by extending TableViewHeader and making the new class
implement DragSource & DropTarget.  I think I also used a custom
TableView that also implemented DropTarget so  the dragged column
could be dropped anywhere within the TableView or TableViewHeader.

http://pivot.apache.org/tutorials/drag-and-drop.html
http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/DragSource.html
http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/DropTarget.html
http://pivot.apache.org/demos/kitchen-sink.html  (Drag & Drop section
near the end)

Chris

On 29 September 2011 15:37, prophe <[email protected]> wrote:
> Thank you, But I mean can I reorder columns with mouse (like drug and drop)?
> replace with mouse for example first column to 3 position? like here
> http://extjs.com/examples/#basicgrid try to reorder columns...
>
> -----
> Thank you!
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Replace-column-in-table-view-tp3375080p3378678.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>

Reply via email to