PDA

View Full Version : Grid on Tab not displaying aggregation rows window hide() and show()



IgyBoy
5 Feb 2012, 8:42 AM
Hi,

i have a window on wich I placed Tab control,and then dynamically add new tabs as needed.
Each of tab items contains a Grid that is displaying some data on it and has an aggregation row.
However, if I hide my window by calling .hide() method,and than show it again, only the grid that was on the tab item that was last selected before hiding the form will have aggregation rows...the rest of the grids,on other tabs will not display aggregation rows.

Also, when this happens, the grids that do not show aggregation rows have weird looking headers.

31372


Using GXT 3.0beta2

gishmo
5 Feb 2012, 10:27 PM
Did you try to call forceLayout() after your window gets visible again?

gishmo
6 Feb 2012, 12:25 AM
In some cases I also have the problem with the height of the grid header.

The header of the grid is rendered with the correct height. After I moved the mouse over the grid the height of the header changed from 21px to 30px. This happens only with some grids. Other grids work fine.

IgyBoy
6 Feb 2012, 4:38 AM
Hi gishmo,

I have tried calling forceLayout(), but without luck.

IgyBoy
19 Feb 2012, 6:50 AM
Just to update the status: in Beta3 still not resolved.

gishmo
19 Feb 2012, 7:11 AM
yep, can confirm it. Not solved in beta 3