问题描述
我想在kendo ui网格的不同列中使用不同的工具提示.我正在研究这个例子 http://dojo.telerik.com/@pfilipov/iGetO/2 但我找不到做到这一点的方法.
I want to have different tooltips in different columns on a kendo ui grid.I am examine the examplehttp://dojo.telerik.com/@pfilipov/iGetO/2but I can't find the way to do it.
推荐答案
您是否需要Angular语法作为示例? -我不会说Angular,但这是我不需要的基本解决方案.
Do you require Angular syntax as in example? - I don't speak Angular, but here is basic solution where I do not need to.
还有 content 功能,您可以根据属性(在这种情况下为Title)捕捉并做出反应.因此,例如,如果您需要计算一些方程式,则可以创建条件 if(title == Tooltip1)并执行所需的操作.
Also there is content function where you can catch and react according to attributes - in that case Title. So if you need calculate some equation (for example) you can create condition if(title == Tooltip1) and do what you need.
这篇关于如何在kendo ui网格上添加多个工具提示.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!