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

Tooltip for kendo data source

1 Answer 169 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Kishore Kumar
Top achievements
Rank 1
Veteran
Kishore Kumar asked on 12 Jan 2021, 05:51 PM

How I can over ride default tooltips of data source filter, I need to show the tooltip based on value available in drop-down 

For example from attached image in place of field drop-down "price ", in place of operator "is greater than or equal to" has to show in tooltip.

Can u please suggest a way to achieve the above query.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Jan 2021, 02:37 PM

Hello Kishore,

The tooltip you are referring to is due to the title attribute which gives extra information on the HTML element and is also what the screen readers will read upon focusing on this element.

It makes more sense for the tooltip to show "Fields" rather than the DropDownList value as the value is already displayed. Nevertheless, you could obtain the DropDownList value and use it as a replacement to the title of the span element.

dropDown.prop('title', priceTitle);

Here is a sample Dojo demo demonstrating this:

Let me know if you have any questions.

Regards,
Nikolay
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Data Source
Asked by
Kishore Kumar
Top achievements
Rank 1
Veteran
Answers by
Nikolay
Telerik team
Share this question
or