I have a SearchFrom linked to a datasource (say dsA) containing 3 ComboboxItem. Each ComboboxItem is linked to a different datasource (say dsB, dsC, dsD). In each ComboboxItem I use setOptionDataSource, setValueField and setDisplayField and the option values show properly.
The problem is when I use setDefaultValue: it works only with one ComboboxItem. I set the default value as a value from the setValueField field.
The ComboboxItem for which it works is linked to a datasource with “schema” (pk: Integer, descr: Text). The other ComboboxItems are linked to datasources with “schema” (pk: Text, descr: Text) and (pk: Integer). That’s apparently the only difference. Any idea?
Running SmartGWT 2.2 under Windows XP, IE7.