哪个方法启用或禁用gxt网格调整大小列

时间:2014-09-09 18:28:54

标签: grid resize gxt

我无法启用列的大小调整。它允许调整任何一列的大小,然后禁用该属性。它甚至不显示col-resize光标。 以下是代码......

grid = new Grid<PolicyRowInfo>(store, cm) {
        @Override
        protected void onAfterFirstAttach() {
        super.onAfterFirstAttach();
        Scheduler.get().scheduleDeferred(new ScheduledCommand() {
        @Override
        public void execute() {
        loader.load();
        }
        });
        }
        };
    grid.getView().setForceFit(true);
    grid.setLoader(loader);
    grid.setColumnReordering(true);
    ScrollingDragSource dragSource = new ScrollingDragSource(grid);
    dragSource.setGroup("top");
    panel = new FramedPanel();
    panel.setHeadingText("Header");
    panel.setCollapsible(true);
    panel.setAnimCollapse(true);
    panel.setSize("100%", "350px");
    panel.addStyleName("margin-10");
    panel.setButtonAlign(BoxLayoutPack.CENTER);

0 个答案:

没有答案