1. 云栖社区>
  2. PHP教程>
  3. 正文

Grid layout trouble - Ext JS

作者:用户 来源:互联网 时间:2017-12-01 20:14:59

jsextgridlayouttrouble

Grid layout trouble - Ext JS - 摘要: 本文讲的是Grid layout trouble - Ext JS, Hi folks,I have mentioned now and then here that I have some problems with my grid to behave correctly in regards to la


Hi folks,
I have mentioned now and then here that I have some problems with my grid to behave correctly in regards to layout. I had somehow hoped that those problems would miraculously vanish on one of the updates, but so far in vain Grid layout trouble - Ext JS
I have a BorderLayout and the grid forms the content of the center pane. Troubles start when the grid doesn't fit into the panel. Here is a screenshot of what happens when I first load my app:
Grid layout trouble - Ext JS
http://img155.imageshack.us/my.php?i...troubletp5.jpg
As you can see the grid doesn't fit horizontally, so a scroll bar appears, but it overlays the grid itself. Also an (unnecessary) wrongly positioned vertical scrollbar appears. If I resize the browser viewport (opening FireBug comes to mind Grid layout trouble - Ext JS ), the grid stays as is and the lower part just disappears.
I can"fix"that by using autoScroll: true for the panel, but then the whole (oversized) grid is scrolled within the panel. What I want is the grid to manage scrolling like in the paging example (ie only scrolling the contents without header and paging footer).
As I'm at my wit's (and limitied JS knowledge's) end, I'm open for any input/help/comment :?

以上是云栖社区小编为您精心准备的的内容,在云栖社区的博客、问答、公众号、人物、课程等栏目也有的相关内容,欢迎继续使用右上角搜索按钮进行搜索js , ext , grid , layout trouble ,以便于您获取更多的相关知识。