I have a ListGrid where one of the fields is a SelectItem which I have set an optiondatasource with the valid values.
If I make the Listgrid editable the selectitem within the grid will have all of the valid values from the WidgetsDataSource. If I enable the filtereditor, the filterbar will not have any values in the selectitem.
How can I get the filterbar to have the valid values in the selectitem?
I'm using SmartGWT latest release and I tried the daily build.
Code:
DataSourceField widField = new DataSourceTextField("widgets", "WIDGETS"); widField.setRequired(Boolean.valueOf(false)); widField.setLength(Integer.valueOf(18)); SelectItem si = new SelectItem(); WidgetsDataSource widds = new WidgetsDataSource(); si.setOptionDataSource(widds); si.setValueField("key_field"); platField.setEditorType(si); addField(widField);
How can I get the filterbar to have the valid values in the selectitem?
I'm using SmartGWT latest release and I tried the daily build.
Comment