SmartGWT 2.3 nightly build 1307
I have a DynamicForm with a ComboBoxItem which has an OptionDataSource to provide the options. This all works well for populating the drop down and allowing the user to make selections.
I have a use case where I would like to programatically select an option that is in the current list and make it the currently selected item. I have tried using the setValue() method and while it does set the current display value in the field, it also clears the drop down list. I have tried setShowOptionsFromDataSource(true) but that did not seem to make a difference.
Any help would be appreciated.
Thanks,
John
I have a DynamicForm with a ComboBoxItem which has an OptionDataSource to provide the options. This all works well for populating the drop down and allowing the user to make selections.
I have a use case where I would like to programatically select an option that is in the current list and make it the currently selected item. I have tried using the setValue() method and while it does set the current display value in the field, it also clears the drop down list. I have tried setShowOptionsFromDataSource(true) but that did not seem to make a difference.
Any help would be appreciated.
Thanks,
John
Comment