Hi Webix Team
How to do custom filter for combo?
Thanks in advance
return (item.value.toString().toLowerCase().indexOf(value.toLowerCase()) != -1)
thanks for reply, but our requirement is we want to filter the array(how to filter the array in webix)
please follow the below example
Hello @deepak ,
Could you please clarify in what way the requirements are different from the previous discussion and solutions?
In below snippet filtering working fine, but
1)once select the filtering item itz not allowing into combobvox.
2)after filter if we click the combobox, filtering is leaving
please follow the below sniipet
@deepak the problem here is in a faulty template of suggest. Please note that template is used for rendering value and has to return a string, not an array of an object.
var mark = $$(this.config.master).$templateMarker;
if (mark && obj[mark])
return obj[mark].join(", ")
return obj.vf.join(", ")
Thanks a lot itz working fine, after filtering the list , the value is allowing into textbox, but if you click again in textbox all the list are displaying in the popup
please follow the below snippet
thanks in advance
It looks like you're new here. If you want to get involved, click one of these buttons!