This is my application environment :
Java 1.5, Smart GWT 2.1, GWT 2.1
I have a ComboBoxItem with a attached option datasource. But even I called setAutoFetchData(false) , the combobox calls Datasource fetch requests without any user action. I want this fetch to be called on If user clicked on PickerIcon or typed on ComboBox.
ComboBoxItem cmbRule11Payer = new ComboBoxItem("rule11Payer", "Rule 11 Payer");
cmbRule11Payer.setOptionDataSource(CommonLookupDS.getLookupDS(LookupTypesClient.LOOKUP_COMPANIES));
cmbRule11Payer.setDisplayField("value");cmbRule11Payer.setValueField("key");
cmbRule11Payer.setAutoFetchData(false);
cmbRule11Payer.setWidth(150);
Java 1.5, Smart GWT 2.1, GWT 2.1
I have a ComboBoxItem with a attached option datasource. But even I called setAutoFetchData(false) , the combobox calls Datasource fetch requests without any user action. I want this fetch to be called on If user clicked on PickerIcon or typed on ComboBox.
ComboBoxItem cmbRule11Payer = new ComboBoxItem("rule11Payer", "Rule 11 Payer");
cmbRule11Payer.setOptionDataSource(CommonLookupDS.getLookupDS(LookupTypesClient.LOOKUP_COMPANIES));
cmbRule11Payer.setDisplayField("value");cmbRule11Payer.setValueField("key");
cmbRule11Payer.setAutoFetchData(false);
cmbRule11Payer.setWidth(150);
Comment