wmitchell
21 Jun 2010, 8:56 AM
In my UI the user could trigger an event which caused the following code to run.
columns.add(new ColumnConfig("MODELDATA_A", "ASDF", COLUMNWIDTH));
columns.add(new ColumnConfig("MODELDATA_B", "XYZ", COLUMNWIDTH));
grid.getColumnModel().setColumnHeader(0,grid.getColumnModel().getColumnHeader(0));
It now seems that the setColumnHeaderl line at the bottom is no longer causing the Grid control legend to redraw since I have upgraded gxt versions. I've tried all kinds of calls to repaint etc.. By the looks of it this "hack" that had been used in the application previous does not seem to work. Any ideas would be much appreciated.
W
columns.add(new ColumnConfig("MODELDATA_A", "ASDF", COLUMNWIDTH));
columns.add(new ColumnConfig("MODELDATA_B", "XYZ", COLUMNWIDTH));
grid.getColumnModel().setColumnHeader(0,grid.getColumnModel().getColumnHeader(0));
It now seems that the setColumnHeaderl line at the bottom is no longer causing the Grid control legend to redraw since I have upgraded gxt versions. I've tried all kinds of calls to repaint etc.. By the looks of it this "hack" that had been used in the application previous does not seem to work. Any ideas would be much appreciated.
W