gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 03:52:15 26 4
gpt4 key购买 nike

网格过滤器适用于任何列。我在设置 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com