如何在kendo ui网格上添加多个工具提示. [英] How can I add multiple tooltips on kendo ui grid.

查看:94
本文介绍了如何在kendo ui网格上添加多个工具提示.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在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 example http://dojo.telerik.com/@pfilipov/iGetO/2 but 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.

Dojo示例

还有 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网格上添加多个工具提示.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆