Reputation: 59
visible
is not working within command in Kendo TreeList (Kendo UI JQuery).
{
command: [
{
imageClass: "k-i-info",
name: "details",
text: "Details",
visible: function (dataItem) {
return dataItem.LastName.charAt(0) !== "D"
}
}
]
}
Upvotes: 0
Views: 412
Reputation: 1669
Of course not. It is not part of the API. See https://docs.telerik.com/kendo-ui/api/javascript/ui/treelist/configuration/columns.command
Depending on what you are trying to achieve, the DataBound
-event may help you: https://docs.telerik.com/kendo-ui/api/javascript/ui/treelist/events/databound
Upvotes: 0