【问题标题】:How to style KendoUi Grid with boolean filter如何使用布尔过滤器设置 KendoUi Grid 样式
【发布时间】:2014-02-15 23:27:23
【问题描述】:

网格过滤器对任何列都适用。我在设置布尔数据类型列时遇到的唯一问题(参见 img)。

知道可能缺少什么吗?

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

}.......

【问题讨论】:

    标签: filter kendo-ui grid styles boolean


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-02-24
      • 1970-01-01
      • 1970-01-01
      • 2019-12-15
      • 2017-11-19
      • 2019-07-12
      • 2013-02-22
      相关资源
      最近更新 更多