This is a migrated thread and some comments may be shown as answers.

[Solved] Tooltip for clear filter icon?

1 Answer 221 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 23 Jan 2015, 10:14 PM
Hi, I've been asked to put a tool tip on the clear filter icon in the grid's (the big "X").  Is there any cleaner and/or more efficient way than this?  Currently I'm having to call this every time in the databound event.

$(".k-grid").find(".k-filtercell").find(".k-i-close").attr("title", "Clear Filter");


1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 27 Jan 2015, 11:52 AM

Hello Bob,

Its a pretty viable solution. You can use a faster selector like this:

this.element.find(".k-i-close").attr("title", "Clear Filter"); //in the databound event

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or