Consume XML web service with KendoReact Grid?

2 posts, 0 answers
  1. Gregory
    Gregory avatar
    30 posts
    Member since:
    Feb 2014

    Posted 31 Jan 2020 Link to this post

    Anyone know how I could consume an XML web service using a KendoReact Grid?
  2. Stefan
    Stefan avatar
    3008 posts

    Posted 03 Feb 2020 Link to this post

    Hello, Gregory,

    The KendoReact Grid accepts only JSON data array.

    In order of the Grid to display the data, it has to be converted to JSON.

    There is a nice npm package that does that:

    Also, a request has to be made in order to retrieve that XML data:

    Please have in mind that the KendoReact components only visualize the data that they receive, the component does not make a request to different APIs to consume data. This is because in React there is a concept of the state as a single source of truth, and all data manipulation has to go through it.

    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top