how to load data dynamically in Kendo React Grid Component?

2 posts, 0 answers
  1. Rohullah
    Rohullah avatar
    11 posts
    Member since:
    Feb 2018

    Posted 25 Mar 2020 Link to this post

    how to load data dynamically in kendo react grid component?(for example in useEffect() function) thanks
  2. Stefan
    Admin
    Stefan avatar
    3008 posts

    Posted 25 Mar 2020 Link to this post

    Hello, Rohullah,

    This can be done by binding the Grid data to the state (or useState) and updating it.

    This is an example using a remote API and useEffect:

    https://stackblitz.com/edit/react-dcnzi1?file=app/main.jsx

    I hope this is helpful.

    Regards,
    Stefan
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top