Hello,
I noticed that if a datasource field's "canEdit" attribute is set to false, then the field's editor is not shown on the corresponding filter (see attached png).
You can reproduce the problem using the code of the following showcase example:
http://www.smartclient.com/smartgwt/...filter_builder
and just set the "canEdit" attribute of a field to false, i.e. for the countryNameField:
I have tested it with the following GWT, SmartGWT and browser versions on Ubuntu 11.04:
GWT 2.2.0 and GWT 2.3.0.
SmartGWT nightly 2.x LGPL (2011-08-10) and SmartGWT 2.5 stable (2011-08-03).
Firefox 5, Chrome 13, and Internet Explorer 9.
Thanks
I noticed that if a datasource field's "canEdit" attribute is set to false, then the field's editor is not shown on the corresponding filter (see attached png).
You can reproduce the problem using the code of the following showcase example:
http://www.smartclient.com/smartgwt/...filter_builder
and just set the "canEdit" attribute of a field to false, i.e. for the countryNameField:
Code:
DataSourceTextField countryNameField = new DataSourceTextField("countryName", "Country"); countryNameField.setRequired(true); countryNameField.setCanEdit(false);
GWT 2.2.0 and GWT 2.3.0.
SmartGWT nightly 2.x LGPL (2011-08-10) and SmartGWT 2.5 stable (2011-08-03).
Firefox 5, Chrome 13, and Internet Explorer 9.
Thanks
Comment