pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pan peter <pan.peter1...@gmail.com>
Subject Re: how to use drag and drop swap table columns
Date Mon, 14 Nov 2011 14:18:59 GMT
OK. eventually i got everything works for drag and drop. The trick is I have
to remove the dragged column, then insert it again with preferred index

                TableView.ColumnSequence tc = 
                TableView.Column col0 =
                tc.insert(col0, selectedIndex);

Where the dragIndex is a static parameter which got its value from

View this message in context: http://apache-pivot-users.399431.n3.nabble.com/how-to-use-drag-and-drop-swap-table-columns-tp3499066p3506944.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

View raw message