You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by pan peter <pa...@gmail.com> on 2011/11/10 16:12:16 UTC
Re: Replace column in table view
Hi,
I need to swap table columns as well. i don't really understand what you
guys talk about here, i made the
tableView = (TableView) namespace.get("tableView");
TableViewHeader tvh = (TableViewHeader)
namespace.get("tableViewHeader");
tvh.setDropTarget(new DropTarget() {...});
tvh.setDragSource(new DragSource() {...});
tableView.setDropTarget(new DropTarget() {...});
tableView.setDragSource(new DragSource() {...});
and I put some break point within the dragEnter and drop method, but program
doesn't stop at anywhere.
Do I need do something more?
I'm playing with the demo table.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Replace-column-in-table-view-tp3375080p3496967.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: Replace column in table view
Posted by pan peter <pa...@gmail.com>.
seems we need a detail description of how to implement this. this thread is
far less descriptive for implementing this functionality.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Replace-column-in-table-view-tp3375080p3499265.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: Replace column in table view
Posted by Greg Brown <gk...@verizon.net>.
Could this be related to your problem?
https://bugzilla.mozilla.org/show_bug.cgi?id=588455
On Nov 10, 2011, at 10:12 AM, pan peter wrote:
> Hi,
>
> I need to swap table columns as well. i don't really understand what you
> guys talk about here, i made the
>
> tableView = (TableView) namespace.get("tableView");
> TableViewHeader tvh = (TableViewHeader)
> namespace.get("tableViewHeader");
> tvh.setDropTarget(new DropTarget() {...});
> tvh.setDragSource(new DragSource() {...});
> tableView.setDropTarget(new DropTarget() {...});
> tableView.setDragSource(new DragSource() {...});
> and I put some break point within the dragEnter and drop method, but program
> doesn't stop at anywhere.
>
> Do I need do something more?
>
> I'm playing with the demo table.
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Replace-column-in-table-view-tp3375080p3496967.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.