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

Autocomplete odata filter

2 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Veteran
Nick asked on 09 Nov 2020, 03:21 AM

Hi there

I am looking for a way that I can use an odata source as the datasource for an autocomplete input and as the user types it queries the remote datasource to return the filtered results.

Looking at the demos and documentation they all seem to be related to local data sources.

Thanks

Nick

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 09 Nov 2020, 02:50 PM

Hello, Nick,

This can be done on the onChange event of the component. The value can be used to make a request to the OData server:

https://www.telerik.com/kendo-react-ui/components/dropdowns/api/AutoCompleteProps/#onchange

The reason we only have local data examples is that the components do not make requests automatically, and the developers have to make the request based on the server technology that is used by the application.

If there are specific issues when making the request, please let us know and we will be happy to assist.

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Nick
Top achievements
Rank 1
Veteran
answered on 10 Nov 2020, 03:26 AM

Thanks Stefan

We have gone down a different route with our design. If we come back down this path again (and I am sure we will), I will test it out. Thanks again

Tags
General Discussions
Asked by
Nick
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Nick
Top achievements
Rank 1
Veteran
Share this question
or