Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem with checkboxes after saving DynamicForm data

    I'm using SmartGWT3.1p LGPL with GWT 2.5 & firefox 14. This is part of my code:

    Code:
    DynamicForm form = new DynamicForm();
    ...
    form.setFields(myFields);
    form.setDataSource(myFormDataSource);
    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:

    Code:
    form.setSaveOperationType(DSOperationType.UPDATE);
    form.saveData();
    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?
Working...
X