How can extend AutoComplete to change dataSource and dataTextField dynamically in kendo?

273 Views Asked by At

how change datasource and dataTextField with extent autocomplete kendo when user enter number or text ? for example. I want when user enter id show name in dropdown list and when enter name show name .

1

There are 1 best solutions below

0
On BEST ANSWER

You can use the filtering event, check the incoming filter, and based on its type, programmatically filter the dataSource:

Example