Hi, I have run in to the following problem (possibly a bug):
- Set up a ListGridField with associated Boolean type DataSourceField (named ‘checkboxField’)
- Make the ListGridField editable and setCanToggle(true)
- Set the check state to checked in the Java code using ListGrid.setEditValue(rowNum, “checkboxField”, “true”) and refresh the cell (it now shows as checked in the UI fine).
- Now click the checkbox to uncheck it and it will NOT uncheck
- The second time the checkbox is clicked, it will go unchecked
So it seems the ‘toggle’ behavior does not toggle based on the last edit value set in the code. Is there any way around this, or is this a bug?
I have tried the official SmartGwt 2.2 release as well as the latest nightly build on Firefox and IE.