![](/img/trans.png)
[英]Why Kendo TreeList DataSourceTransport with custom read method written in Typescript does go wild?
[英]Kendo treelist display custom message for No records
我在 angularjs 中创建了 kendo-treelist。 最初我传递的是空数据,所以它显示“没有要显示的记录”。 我想自定义此消息的方法。 提前致谢。
您应该设置messages.noRows
属性
<div id="treeList"></div>
<script>
$("#treeList").kendoTreeList({
dataSource: [],
columns: [ "name", "age" ],
messages: {
noRows: "No data"
}
});
</script>
API 文档可以在这里找到https://docs.telerik.com/kendo-ui/api/javascript/ui/treelist/configuration/messages.norows
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.