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

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

问题描述

Kendo 网格在网格加载、分页、排序时自动提供自己的加载指示器.它工作正常.

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.

如何禁用此功能?

请多多指教.

谢谢,维诺特

推荐答案

简单,用 CSS 隐藏即可.您的选择器需要比内置的 Kendo 类更具体.您可以为此使用网格的 ID.

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;
}

如果您想移除加载掩码,您也可以使用 CSS 来实现.

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天全站免登陆