This is a migrated thread and some comments may be shown as answers.

React Grid manual loading indicator

2 Answers 547 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 19 Jun 2018, 01:13 PM

I'm using the Kendo React Grid (v 1.0.1). I wanted to show a load indicator manually on certain occasions, but couldn't find out how to do this.

Is there a way to programmatically turn it on/off?

CU, Joe

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 20 Jun 2018, 06:08 AM
Hello, Joe,

Currently, the loading indicator can only be rendered using custom logic to place the loading element over the desired element.

This is an example demonstrating how to achieve it for the Grid during requests:

https://www.telerik.com/kendo-react-ui/components/grid/advanced-examples/loading-indicator/

The team is also considering implementing it as a built-in feature for the Grid.

Regards,
Stefan
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
Joe
Top achievements
Rank 1
commented on 25 Jun 2018, 08:22 AM

Works like a charm! Thanks, and sorry for not spotting this myself in the docs.
0
Srinivas
Top achievements
Rank 1
Iron
answered on 23 Mar 2024, 08:51 PM
If the API Takes time, I still see NO records to display message. Anyway to avoid this please.
Vessy
Telerik team
commented on 25 Mar 2024, 04:40 AM

Hi, Srinivas,

Can you elaborate a bit on the exact scenario when the message is not shown? It will be really helpful if you send me sample where I can reproduce the behavior that you are facing and examine the exact setup leading to it.

Regards,
Vessy

Srinivas
Top achievements
Rank 1
Iron
commented on 25 Mar 2024, 07:29 PM

Very basic. We are loading the data for Kendo React Grid using back end api.  When the api is still loading we wil see "No Records Available" after the api finishes, every thing works great. Your example working great when we want to load second page, where second page is taking some time. You can simulate withe very long api call and you see the problem.
Vessy
Telerik team
commented on 27 Mar 2024, 04:26 PM

Hello, Srinivas,

Thanks you for the clarification.

Basically, there are two possible ways to hide the "No records" message shown when the Grid is empty:

I hope the provided information will help you to achieve the target result.

Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Srinivas
Top achievements
Rank 1
Iron
Share this question
or