Hi,
We have a listgrid with some editable fields, one of the editable-fields is a checkbox-field.
I create the checkbox-field with: field.setType(ListGridFieldType.BOOLEAN);
The field can have 3 states: true, false or empty. If the field is empty, it must be readonly. I set it to readonly with canEditCell() if the value is null.
1. Our customer requested to not show the checkbox, if it is empty. How can I hide the checkbox in this case (in a cell)?
The grid is filled from a rest-service. From the server I return the values "true", "" (for false) or null (for empty).
2. That works as desired, but are the values I return the ones as it's designed?
(we have a large smartgwt-application with smartgwt-5.0-2015-08-20 and our customer uses Internet-Explorer 11).
We have a listgrid with some editable fields, one of the editable-fields is a checkbox-field.
I create the checkbox-field with: field.setType(ListGridFieldType.BOOLEAN);
The field can have 3 states: true, false or empty. If the field is empty, it must be readonly. I set it to readonly with canEditCell() if the value is null.
1. Our customer requested to not show the checkbox, if it is empty. How can I hide the checkbox in this case (in a cell)?
The grid is filled from a rest-service. From the server I return the values "true", "" (for false) or null (for empty).
2. That works as desired, but are the values I return the ones as it's designed?
(we have a large smartgwt-application with smartgwt-5.0-2015-08-20 and our customer uses Internet-Explorer 11).
Comment