Hi,
We are using SmartGWT Power 2.5, and need to build the code similar to the sample above using solely Visual Builder. Main challenge so far is absent of "getPickListFilterCriteria" action in SelectItem component. We try to replace it with Combobox which has such action. It generally works but we need ability to select empty value. That feature presents only in SelectItem.
I checked the latest build but that action is not added to SelectItem as well. Is it possible to add that action into night build (we would not mind to upgrade) or provide instruction how to add it ourselves?
Thanks,
Maksym
We are using SmartGWT Power 2.5, and need to build the code similar to the sample above using solely Visual Builder. Main challenge so far is absent of "getPickListFilterCriteria" action in SelectItem component. We try to replace it with Combobox which has such action. It generally works but we need ability to select empty value. That feature presents only in SelectItem.
I checked the latest build but that action is not added to SelectItem as well. Is it possible to add that action into night build (we would not mind to upgrade) or provide instruction how to add it ourselves?
Code:
<DynamicForm ID="DynamicForm0" autoDraw="false"> <dataSource>myDataSource</dataSource> <autoFetchData>true</autoFetchData> <fields> <FormItem name="PARAM.REQUESTGROUP.ID" constructor="ComboBoxItem" > <displayField>XXX</displayField> <changed><![CDATA[ form.clearValue('PARAM.VENDORTYPE.ID'); ]]></changed> </FormItem> <FormItem name="PARAM.VENDORTYPE.ID" constructor="ComboBoxItem" > <displayField>YYYY</displayField> <getPickListFilterCriteria><![CDATA[ var requestGroup = this.form.getValue('PARAM.REQUESTGROUP.ID'); return {RequestGroup:requestGroup}; ]]></getPickListFilterCriteria> </FormItem> </fields> <width>100%</width> <height>100%</height> <autoFetchData>true</autoFetchData> </DynamicForm>
Maksym
Comment