Grid loading complete

2 posts, 0 answers
  1. Sam
    Sam avatar
    10 posts
    Member since:
    Dec 2017

    Posted 28 Apr 2020 Link to this post

    When I load my grid currently I'm getting no results flash up before my results display. Is there a way to know when the grid has finished loading so I can control this no results myself?
  2. Stefan
    Stefan avatar
    3039 posts

    Posted 28 Apr 2020 Link to this post

    Hello, Sam,

    I can assume that the data is coming from the server and it takes time to finish the request.

    Please have in mind that the Grid is not loading data itself and it only renders the data that it is passed to it. This means that the moment the Grid has data is the same time the data is received from the server and set in the state.

    A similar implementation can be seen in our demo with server data. The data is loaded when we hit the `then` callback from the fetch requests:

    Let me know if you need additional information on this matter.

    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