Hello,
I noticed that if "canHide" attribute of all listgridField's except one is set to false then the "columns" submenu isn't shown in header's context menu, so there is no way to hide that field's column.
You can reproduce the problem using the code of the following showcase example:
http://www.smartclient.com/smartgwt/...ding_lg_fields
and just set the "canHide" attribute of all fields except one to false, e.g. set countryCodeField, nameField, independenceField and populationField's canHide to false and don't set the "canHide" attribute for gdpField.
I have tested it with the following GWT, SmartGWT and browser versions on Windows 7 and Ubuntu 12.10:
GWT 2.4.0 and GWT 2.5.0.
SmartClient Version: 2.5p LGPL 2013-05-02 [v8.1p_2013-05-02/LGPL Development Only (built 2013-05-02)] and
3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)].
Firefox 20.0, Chrome 23.0.1271.95, Internet Explorer 9.0.8112.16421.
Thanks
I noticed that if "canHide" attribute of all listgridField's except one is set to false then the "columns" submenu isn't shown in header's context menu, so there is no way to hide that field's column.
You can reproduce the problem using the code of the following showcase example:
http://www.smartclient.com/smartgwt/...ding_lg_fields
and just set the "canHide" attribute of all fields except one to false, e.g. set countryCodeField, nameField, independenceField and populationField's canHide to false and don't set the "canHide" attribute for gdpField.
Code:
countryCodeField.setCanHide(Boolean.FALSE); nameField.setCanHide(Boolean.FALSE); independenceField.setCanHide(Boolean.FALSE); populationField.setCanHide(Boolean.FALSE);
GWT 2.4.0 and GWT 2.5.0.
SmartClient Version: 2.5p LGPL 2013-05-02 [v8.1p_2013-05-02/LGPL Development Only (built 2013-05-02)] and
3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)].
Firefox 20.0, Chrome 23.0.1271.95, Internet Explorer 9.0.8112.16421.
Thanks