【问题标题】:visible in command of treelist not working in kendoTreeList like kendoGrid在树列表的命令中可见,在 kendoTreeList 中不工作,如 kendoGrid
【发布时间】:2019-04-06 08:23:33
【问题描述】:

在 kendoTreeList 的命令中不可见。

{
                            command: [
                                {
                                    imageClass: "k-i-info",
                                    name: "details",
                                    text: "Details",

                                    visible: function (dataItem) { return dataItem.LastName.charAt(0) !== "D" }

                                }
                            ]
                        }

在 kendoUI Jquery 中的 treelist 命令中不可见

【问题讨论】:

    标签: kendo-ui kendo-grid kendo-treeview


    【解决方案1】:

    当然不是。它不是 API 的一部分。见https://docs.telerik.com/kendo-ui/api/javascript/ui/treelist/configuration/columns.command

    根据您要实现的目标,DataBound-事件可能会帮助您:https://docs.telerik.com/kendo-ui/api/javascript/ui/treelist/events/databound

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-02-07
      • 2013-07-30
      • 1970-01-01
      相关资源
      最近更新 更多