:: Forum >>

Grid loses layout settings after resize. Please help

I asked this question on the following topic (but there was a previously answered question on that topic so I'm starting a new one in case nobody saw the old post): http://www.activewidgets.com/javascript.forum.16073.3/please-help-licensed-developer-for.html

A slight problem has surfaced as a result of adding the refesh call in there (although I would much rather have this problem than the last :) but if you know how to fix it, I would greatly appreciate it.

To reproduce:
go to http://24.172.76.154:8080/mab-mbox/gridTest.action
click on row 18
click "Close Detail Page"

You will see that there is a bunch of empty space where the grid should be (and the scroll area doesn't accurately represent the size of the grid anymore) but as soon as I click the up arrow on the scroll bar, the grid resets itself. Do you know what I could do to fix this? Thank you very much.

Joe Hudson
I purchased a developer license as joe@binamics.com
Joe Hudson
Thursday, September 7, 2006
Joe,

this seems like a vertical scroll problem - you should restore the original scroll position after expanding the grid,

grid.setScrollTop(0); // or whatever the scroll was before
Alex (ActiveWidgets)
Friday, September 8, 2006
That solved it! Thanks Alex.
Joe Hudson
Friday, September 8, 2006

This topic is archived.


Back to support forum

Forum search