开发者

ExtJS container with border layout and dynamic height children

I would like to have a container with border layout (I need the split bar) with two regions, west and center. The west region contains a treepanel that can expand (because it's a treepanel) and I don't know the number of nodes. The center region is also a container that holds a grid and I don't know the number of rows. So both regions' height is unknown until the page is loaded. I also want the page to be scrollable in case one of the regions are bigger than the page. I managed to do so when the main container was without border layout and with autoHeight - although I know it's a bad solut开发者_JAVA百科ion.

Any1 has an idea? Thanks


column layout would do what you want, but it wouldn't give you the split bar. I think the split bar needs to know the height of what it is splitting, so in order to get this working fully, you may have to add and control your own split bar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜