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 Grid 的单元格在调整大小时是否包含省略号,以便显示工具提示?省略号是通过 CSS 声明的。
谢谢。
当然。对具有 text-overflow:ellipsis 属性的元素使用此函数
function isEllipsisActive(e) { return (e.offsetWidth < e.scrollWidth); }
这是一个例子http://jsfiddle.net/cgzW8/115/