Autocomplete odata filter

3 posts, 0 answers
  1. Nick
    Nick avatar
    19 posts
    Member since:
    Oct 2019

    Posted 08 Nov 2020 Link to this post

    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. Stefan
    Admin
    Stefan avatar
    3039 posts

    Posted 09 Nov 2020 Link to this post

    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/.

  3. Nick
    Nick avatar
    19 posts
    Member since:
    Oct 2019

    Posted 09 Nov 2020 in reply to Stefan Link to this post

    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

Back to Top