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

Grid Disables on API Call

2 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 03 Oct 2019, 05:55 PM

I was wondering if there was a way to stop the grid from graying out on a call to a very slow API?  I noticed that if you click on the header of said grid it gets re-enabled but every call to any slow API disables the grid thus a user is not able to click on the links in the columns until the API responds.

 

Thanks,

Adam

2 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 07 Oct 2019, 12:22 PM

Hi Adam,

By default the loading indicator is shown so the users are aware that there is a pending response from the server. If it is removed that could be confusing to some users. 

With that said, if you do not want to show a loading image over the Grid I suggest including the following CSS to the page: 

.k-grid .k-loading-mask {
	display: none;
}

 

Regards,
Viktor Tachev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Adam
Top achievements
Rank 1
answered on 07 Oct 2019, 03:04 PM
Thank you Viktor,  So elegant and yet powerful (worked perfectly).
Tags
Grid
Asked by
Adam
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Adam
Top achievements
Rank 1
Share this question
or