Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的网格有一些停靠的工具栏,我只想隐藏网格体。我试图像这样隐藏:
mygrid.body.hide();
行消失但容器高度没有改变。所以改为网格行我得到了空白空间..
那么如何折叠和展开网格面板主体呢?
你可以这样尝试:
你有没有尝试过
mygrid.collapse();
尝试调用doLayout()和/或doComponentLayout()在网格上
doLayout()
doComponentLayout()