Hi,
I am using GWT 2.8.2 and SmartGWT 6.1-p20170724 power version.
I am using comboboxitem as a editor in ListgridField.
Now problem is that when I set setFilterLocally(true) then filtering on client side works but my optionCriteria is not sent to server for fetching record. Even first time request doesn't contain any criteria. And when i don't set setFilterLocally(true) then typing on comboBoxitem doesn't filter options till exact same value entered.
In my case options values coming in capital letter and user tried to filter that value by typing on keyboard(which generally in lowercase). Then filtering doesn't work at all.
Please suggest me how to enable search/filter on combobox with criteria?
-- Kind Regards
I am using GWT 2.8.2 and SmartGWT 6.1-p20170724 power version.
I am using comboboxitem as a editor in ListgridField.
Code:
ComboBoxItem item = new ComboBoxItem(); item.setDisplayField(dto.getDisplayField()); item.setValueField(dto.getValueField()); if(dto.isPickList()) { item.setPickListFilterCriteriaFunction(itemContext -> buildPickCriteria(dto)); } else { item.setOptionCriteria(buildCriteria(dto)); } item.setAutoFetchData(true); item.setAddUnknownValues(false); item.setAllowEmptyValue(true); item.setUseClientFiltering(true); //item.setFilterLocally(true);
In my case options values coming in capital letter and user tried to filter that value by typing on keyboard(which generally in lowercase). Then filtering doesn't work at all.
Please suggest me how to enable search/filter on combobox with criteria?
-- Kind Regards
Comment