Hi,
We are using SmartGWT version 2.5.
Our web app has a SmartGWT SectionStackSection which contains a DynamicForm. The form contains some form items including ComboBoxItem.
The SectionStackSection is initially hidden by calling:
SectionStackSection.setExpanded(false);
SectionStackSection.setHidden(true);
And then we populate the DynamicForm by:
dynamicForm.editRecord(record);
All form items insides the DynamicForm is populated with record data, EXCEPT all the ComboBoxItem (ComboBoxItem has set the OptionDataSource, which is used to populate its Value & Display fields).
We suspect that, since the SectionStackSection is hidden, the ComboBoxItem will not fetch the data from DataSource; thus, dynamicForm.editRecord cannot set value to it.
Thanks and kind regards,
Nelson
We are using SmartGWT version 2.5.
Our web app has a SmartGWT SectionStackSection which contains a DynamicForm. The form contains some form items including ComboBoxItem.
The SectionStackSection is initially hidden by calling:
SectionStackSection.setExpanded(false);
SectionStackSection.setHidden(true);
And then we populate the DynamicForm by:
dynamicForm.editRecord(record);
All form items insides the DynamicForm is populated with record data, EXCEPT all the ComboBoxItem (ComboBoxItem has set the OptionDataSource, which is used to populate its Value & Display fields).
We suspect that, since the SectionStackSection is hidden, the ComboBoxItem will not fetch the data from DataSource; thus, dynamicForm.editRecord cannot set value to it.
Thanks and kind regards,
Nelson
Comment