Re: How to fix the Column Ordering issue when Insert and Remove columns in GWT?

2014-02-08 Thread Tom
Thax you Thomas, i fixed though it is not too simple. On Saturday, February 8, 2014 2:41:26 AM UTC+11, Thomas Broyer wrote: > > Sure, the index to insert at is the "original" minus the number of hidden > columns before it; or put differently, the number of visible columns before > it. In any cas

Re: How to fix the Column Ordering issue when Insert and Remove columns in GWT?

2014-02-07 Thread Thomas Broyer
Sure, the index to insert at is the "original" minus the number of hidden columns before it; or put differently, the number of visible columns before it. In any case, it means tracking the visible state of your columns. You could use an array of booleans representing the visible state of your c

How to fix the Column Ordering issue when Insert and Remove columns in GWT?

2014-02-07 Thread Tom
I have a cellTable that has many columns like the followings: OrderID - OrderDate - OrderTime - Name . 1 - 2012-01-05 - 11:12:12 - Tom.. Each column will have a checkBox for Hide/Unhide column: [x] orderID (CheckBox) [x] orderDate (CheckBox) [x] orderTime (CheckBox) .. Requireme