Grid editable incell : How totally remove tooltip in numeric field?

1 Answer 41 Views
Grid NumericTextBox
Bridge24
Top achievements
Rank 1
Bridge24 asked on 25 Aug 2021, 02:47 PM

Hi,

I use a grid editable in cell like this one: https://dojo.telerik.com/@lydbell/eCAfIWUy.

The name of the fields comes from my database and is not user friendly. So I don't want it to appear in a tooltip. How to remove it completely?

If, as a last resort, it is not possible to remove it completely, I would like to modify the content. I came across this old post and the example cited doesn't seem to work.

 

 

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 30 Aug 2021, 08:06 AM

Hi, 

Thank you for the provided dojo.

I don't see the Tooltip itself in the example, so I cannot provide any suggestions regarding the first approach.

The example from the other forum thread demonstrates how you can hide the tooltip when the cell is in edit mode, by using the filter configuration.

Dojo:

https://dojo.telerik.com/@gdenchev/uJuRoJUQ 

Let me know if you have any questions.

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Bridge24
Top achievements
Rank 1
commented on 30 Aug 2021, 12:32 PM

Hi, 

The tooltip is added when the focus is inside the editable field. In your example, the word Text appears (see image).

This is what I would like to delete.

Georgi Denchev
Telerik team
commented on 02 Sep 2021, 08:23 AM

Hi,

Thank you for the provided screenshot.

This is a browser specific tooltip which appears when an element has the title attribute.

You can remove it from the editable input by using the edit event of the grid:

          edit: function(e){
            let container = e.container;
            container.find("input").removeAttr("title");
    	    }

Updated Dojo:

https://dojo.telerik.com/@gdenchev/uJuRoJUQ 

Let me know if you have any additional questions.

Tags
Grid NumericTextBox
Asked by
Bridge24
Top achievements
Rank 1
Answers by
Georgi Denchev
Telerik team
Share this question
or