Grid: show Loading component on filter or page size changes

1 Answer 54 Views
Grid
Eric
Top achievements
Rank 2
Iron
Iron
Eric asked on 12 Oct 2023, 06:40 PM

I am working with a grid that uses paging.  One of the options I expose to the user is to allow for a page size of "all" to show all records.  When selected, it can take the grid 10-20 seconds to display all those records, but there is no indication to the user that there is processing going on.  I saw another ticket that mentioned using the PageSizeChanged & onRead event to display a loading image, but that loading image is still delayed.

Is there another way to achieve the goal of showing a loading spinner when the grid is doing larger operations.  Paging, filtering, etc...

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Oct 2023, 08:11 AM

Hello Eric,

If the LoaderContainer displays with a delay, this can be due to a blocked UI thread.

Is this what you want to achieve - Grid with LoaderContainer and PageSizeChanged

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
Grid
Asked by
Eric
Top achievements
Rank 2
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or