View Full Version : GXT Grid doesn't contract when Collapsible panels expand on grid.getView().refresh()

3 Mar 2011, 4:39 AM
The Portal is designed with Two collapsible panels on the left/right and a Grid displayed the Tree Data. As the User collapses the Two side Panels, I have to refresh the Grid Section using grid.getview().refresh(true) to occupy the empty space. This works just fine.

The problem arises when the Panels are expanded, The Grid still remains to occupy the entire space [even if the refresh command is called again]. In this case, I'm forced to show horizontal scrollbar :(, as a work around.

Can someone please let me know if this is an issue with the Grid or there is a catch to this.