Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何显示 Kendo UI Angular 2 网格列名称的工具提示?我尝试使用 html标题属性,但它与kendo-grid-column标题属性冲突。
您可以在模板中插入带有标题的跨度:
<template kendoHeaderTemplate let-column let-columnIndex="columnIndex"> <span title={{column.field}}>{{column.field}}({{columnIndex}})</span> </template>
http://plnkr.co/edit/eYtBLMv45XFLcnbXn2ZW?p=preview