Kendo Grid - 它自己的加载指示器 [英] Kendo Grid - its own Loading indicator

查看:201
本文介绍了Kendo Grid - 它自己的加载指示器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当网格被加载,分页和排序时,Kendo网格会自动提供它自己的加载指示器。它工作正常。



但我不希望显示/隐藏此内置加载指示器。



如何禁用此功能?

请指教。

感谢,
Vinoth

解决方案

简单,只需用CSS隐藏即可。你的选择器需要比内置的Kendo类更具体。您可以使用Grid的ID。

  #grid .k-loading-image {
background-image:没有;





$ b

如果你想删除加载掩码,你也可以用CSS来完成。

  #grid .k-loading-color {
opacity:0;
}


Kendo grid provides its own Loading indicator automatically when the grid is loaded, paging, sorting. It is working fine.

But I don't want this built-in loading indicator to be shown/hidden.

How can I disable this feature?

Please advise me.

Thanks, Vinoth

解决方案

Simple, just hide it with CSS. Your selector will need to be more specific than the built-in Kendo classes. You can use the Grid's ID for that.

#grid .k-loading-image {
    background-image: none;
}

If you want to remove the loading mask you can also accomplish that with CSS.

#grid .k-loading-color {
    opacity: 0;
}

这篇关于Kendo Grid - 它自己的加载指示器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆