dgildeh
21 Feb 2009, 3:37 PM
Hi
I've been stuck all day trying to fix this very annoying issue! Basically I am rendering a tab panel with 2 tab items, and in each tab item a grid which is loaded from the server using XML reader.
For some reason, the first tab shows the grid, but no data is loaded in it. The second tab shows the grid and is fully loaded. If I reverse the order of the tabs, the tab that is always second shows the grid loaded properly, the first one doesn't. Therefore I'm sure the grids work, but for some reason the first tab is not triggering a render event or something.
I am using the latest GXT1.2.3 with GWT1.5.3. Any help in this very annoying issue will be much appreciated! Structure of user interface is as follows (in case it helps:)
TabPanel
-- TabItem with ContentPanel with RowLayout
---- TabPanel with my 2 tabs for grids
------TabItem(1) - ContentPanel with FitLayout with grid that does not show
------TabItem(2) - ContentPanel with FitLayout with grid that does show data
------TabItem(3) - Test ContentPanel exactly same as TabItem(1) (same class) that does show data
David
I've been stuck all day trying to fix this very annoying issue! Basically I am rendering a tab panel with 2 tab items, and in each tab item a grid which is loaded from the server using XML reader.
For some reason, the first tab shows the grid, but no data is loaded in it. The second tab shows the grid and is fully loaded. If I reverse the order of the tabs, the tab that is always second shows the grid loaded properly, the first one doesn't. Therefore I'm sure the grids work, but for some reason the first tab is not triggering a render event or something.
I am using the latest GXT1.2.3 with GWT1.5.3. Any help in this very annoying issue will be much appreciated! Structure of user interface is as follows (in case it helps:)
TabPanel
-- TabItem with ContentPanel with RowLayout
---- TabPanel with my 2 tabs for grids
------TabItem(1) - ContentPanel with FitLayout with grid that does not show
------TabItem(2) - ContentPanel with FitLayout with grid that does show data
------TabItem(3) - Test ContentPanel exactly same as TabItem(1) (same class) that does show data
David