filter - 如何使用 boolean 过滤器设置 KendoUi Grid 样式

标签 filter kendo-ui grid styles boolean

网格过滤器适用于任何列。我在设置 boolean 数据类型列的样式时遇到的唯一问题(请参阅 img)。

enter image description here

知道可能缺少什么吗?

        editable: true,
        columns: [
            { field: "kid", title: "OEM", type: "string" },
            { field: "dealerDId", title: "S.No", type: "string" },
            { field: "emailSubject1", title: "Subject" },
            {
                field: "isAdminViewOnly",
                title: "Is Admin View",
                template: "#: isAdminViewOnly ? 'Yes' : 'No' #",
                type: "boolean",
                filterable: {
                    messages: {
                        info: "Filter By Admin View:", 
                        // when filtering boolean numbers
                        isTrue: "Is Admin View", 
                        isFalse: "Is NOT Admin View",
                        style: "max-width:100px;"
                    }
                }
            },

} ......

最佳答案

喜欢它。我的自定义 CSS 类之一覆盖了 k-xxx 类样式

关于filter - 如何使用 boolean 过滤器设置 KendoUi Grid 样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21341654/

相关文章:

Haskell 长度和滤波器确定直线的凸度或凹度

Java 8 toMap 用于映射 <string, Collection<String>>

delphi - 对 TBitmap 的更改不会出现在 Delphi 6 DirectShow 过滤器的渲染图像中,并会生成大量软页面错误

javascript - Kendo DatePicker 使用 javascript 清除输入,占位符被移除

algorithm - 找到网格中位于边界上且包含点的最大矩形

WPF:带有列/行边距/填充的网格?

asp.net-web-api - ASP.NET Web API 避免查询字符串中的无效参数

c# - 如何重置 DropDownList 索引

javascript - 使用 js-grid 显示静态数据

*ngFor 中的 Angular 复选框