SmartGWT: hide a column in a grouped grid (which makes the group)

前端 未结 4 490
时光说笑
时光说笑 2021-01-28 16:42

I have a SmartGWT grid, where I want to display some data from JBoss-Server and it\'s grouped by one textfield that I fetch from JSON.

So, but I want this textfield o

4条回答
  •  醉酒成梦
    2021-01-28 17:35

    The clean way is to hide the ListGridField like this:

        ListGridField groupField = new ListGridField(FLD_CATEGORY, "Group");
        groupField.setHidden(true);
    

    Note that if you use a DataSourceField, you may need to declare hard-coded ListGridField definitions

提交回复
热议问题