hello smartgwt world,
I have a comboxboxitem with OptionDataSource set. The datasource utilizes GWT RPC to fetch records from server side.
comboBox = new ComboBoxItem();
[...]
comboBox.setOptionDataSource(datasource);
I cannot use getClientPickListData for databound form items. This is where my problem starts.
I would like to know a method to retrieve the actual content of the items picklist.
If for example the picklist contains only one item, I would like to use this item to autocomplete the value in the combobox even without having the user to type tab or return.
If the picklist contains no data I would like to use this information to set the color of an indicator icon to red.
Anybody out there who can help me?
Kind Regards,
Joachim
I have a comboxboxitem with OptionDataSource set. The datasource utilizes GWT RPC to fetch records from server side.
comboBox = new ComboBoxItem();
[...]
comboBox.setOptionDataSource(datasource);
I cannot use getClientPickListData for databound form items. This is where my problem starts.
I would like to know a method to retrieve the actual content of the items picklist.
If for example the picklist contains only one item, I would like to use this item to autocomplete the value in the combobox even without having the user to type tab or return.
If the picklist contains no data I would like to use this information to set the color of an indicator icon to red.
Anybody out there who can help me?
Kind Regards,
Joachim
Comment