I'm using SmartGWT3.1p LGPL with GWT 2.5 & firefox 14. This is part of my code:
I've no problem while fetching data from datasource to my form, but the problem is where I want to update loaded data with this code:
here my information is sent to server & stores successfully, the only problem is that when saveData is called, all of checkboxe fields on my form reset & get checked automatically! In addition, when I want to uncheck them again manually, I have to click twice on them, the other fields have no problem.<br/>
Any idea about source of this strange error?
Code:
DynamicForm form = new DynamicForm(); ... form.setFields(myFields); form.setDataSource(myFormDataSource);
Code:
form.setSaveOperationType(DSOperationType.UPDATE); form.saveData();
Any idea about source of this strange error?