For those having problems allowing empty value or the selection of only items in list with incremental search in an editable DBLookupComboBox... (i was one too ) Add to the DBLookupCombobox -> ClientEvents -> ExtEvents -> OnAfterrender
function OnAfterrender(sender){
sender.allowBlank=true;
sender.editable = true;//This allows you to edit the DBLookupCombobox
sender.forceSelection=true;//This line allows only item in list to be selected
sender.beforeBlur= function(){
var value = this.getRawValue();
if(value == ''){
this.lastSelection = [];
}
this.doQueryTask.cancel();
this.assertValue();
}
}
I face a problem on setting null value to the coresponding field at server because the above trick does not set null value to field. I tryed and an ajax request to achieve the update.. but it keeps the last keyfieldvalue of the field.. if anyone can help