This is a migrated thread and some comments may be shown as answers.

Dynamic Filter

1 Answer 44 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
ASLI
Top achievements
Rank 1
ASLI asked on 04 Nov 2018, 12:42 PM
I use  MultiColumnComboBox with MVVM  but I can't filter multi column. I tried filterFields and data-filterFields  attribute  but could not run . Source code is below. 
Thanks for your help

<input data-role="multicolumncombobox"
                   data-filter="contains"
                   data-filterFields= "[ProductName, ProductID]"
                   data-placeholder="Type a product e.g. 'Chai'"
                   data-text-field="ProductName"
                   data-value-field="ProductID"
                   data-columns="[
                   {field: 'ProductID', title: 'Urun Kodu'},
                   {field: 'ProductName', title: 'Urun Adı'}
                   ]"
                   data-bind="value: selectedProduct,
                              source: products
                              }"
                   style="width: 100%" />

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 06 Nov 2018, 02:01 PM
Hello,

Here is how I set the property to filter by value the value field - data-filter-fields="['ProductID']". Here is my test dojo page - https://dojo.telerik.com/@zdravkov/aNojUjeB.

Regards,
Plamen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
MultiColumnComboBox
Asked by
ASLI
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or