View Full Version : ColumnModel setHidden(...) does not work anymore

19 Apr 2011, 7:21 PM
We just upgraded to GXT 2.2.3 and calls to ColumnModel setHidden(...) do not work anymore.

We are using:

cm.setHidden(2, true);

The current workaround is to just call repaint() on the TreeGrid after the setHidden(...) calls, which is not optimal. Does anybody else have this problem?

-- Thomas Amsler
UC Davis

4 May 2011, 2:51 PM
After some testing, it turns out that the repaint() doesn't work. I have tried several things to reliably hide/show TreeGrid columns via setHidden() but nothing seems to work. Here is what I have tried so far:

- cm.setHidden(2, true);
- cm.getColumn(2).setHidden(true);

-- Thomas