mikelindsey
4 Oct 2010, 12:38 PM
Hello,
I have two tab pages open. One tabpage has a dataview in the center region of a panel with border layout.
I've set the panel that contains the dataview set to autoscroll and layout fit
It all works perfect when the store loads - the dataview scrolls vertically if there is overflow.
The problem is that if I close the second tab (that doesn't have a dataview) the tab that is still open and that has the dataview gets refreshed and the scrollbar disappears. The height on the containing panel as well
as the dataview expands (to a size that accommodates all images) and I can't see the image records that are at the bottom.
This is not specific to the dataview. It's an issue with the center region expanding when another tabpage is closed.
I proved this by swaping the two regions - it's the center panel that always expands when the second tab page is closed.
Any advice is appreciated.
Mike
I have two tab pages open. One tabpage has a dataview in the center region of a panel with border layout.
I've set the panel that contains the dataview set to autoscroll and layout fit
It all works perfect when the store loads - the dataview scrolls vertically if there is overflow.
The problem is that if I close the second tab (that doesn't have a dataview) the tab that is still open and that has the dataview gets refreshed and the scrollbar disappears. The height on the containing panel as well
as the dataview expands (to a size that accommodates all images) and I can't see the image records that are at the bottom.
This is not specific to the dataview. It's an issue with the center region expanding when another tabpage is closed.
I proved this by swaping the two regions - it's the center panel that always expands when the second tab page is closed.
Any advice is appreciated.
Mike