Data dissapears when grid is is inside a div
I have my grid inside s hidden DIV.
when I make visible the DIV, the data inside the grid inmediately dissapears !. but the data is there, because if I click the column header for indexing, the data becomes visible again.
So, what's causing this problem ???
Ths problem is really driving me crazy for almost a week.
This is a bug in AW 2.0.1 - the grid does not initialize properly inside display:none div.
Sunday, July 9, 2006
By the way, is there a fix for this problem. ?
Managed to get round the issue by using visibility:hidden instead of display:none. Bear in mind that changing visibility will leave an empty space behind whereas display:none collapses the deallocated space.
and about the refresh(), the only way to make it work is to invoke the method with setTimeout() , because doing it inmediately doesn't work, and that's not an optimal solution.
My situation is that I can see the grid, but empty !. Only after indexing a column, or explicitly using the refresh (e.g. onclick event, etc) I can bring the data to the grid.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.