PDA

View Full Version : Grid not rendering in a tab



dgildeh
21 Feb 2009, 10:01 AM
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!

David

mjlecomte
21 Feb 2009, 10:15 AM
check the Grid FAQ. Perhaps layoutOnTabChange:true will help.

Animal
21 Feb 2009, 10:17 AM
You might get more help from the GWT/GXT forums.

dgildeh
21 Feb 2009, 3:32 PM
Yes, I just realised this in the wrong forum. I will transfer the question to there.

Thanks,

David