Jump to content

Recommended Posts

Posted

This balloon that appears near the Edit component is not a hint. It is triggered when I click on a button and I enter the text I want when clicking on the button. It is to inform the client that a certain field needs to be filled in. There is no way to include this in the component's hint; it would have to be done automatically.

Posted
3 hours ago, eduardosuruagy said:

This balloon that appears near the Edit component is not a hint. It is triggered when I click on a button and I enter the text I want when clicking on the button. It is to inform the client that a certain field needs to be filled in. There is no way to include this in the component's hint; it would have to be done automatically.

isn't it the same ?

I try to write this js code into uniButton.CustomEvents.ExtEvents.click and after click on button all work for this Button

var el = this; //sender;
var _title;
_title = el.getEl().dom.getAttribute('title');

                el.getEl().dom.removeAttribute('title');
                el._toolTip = Ext.create('Ext.tip.ToolTip', {
                    target: el,
                    html: '<span class="hintClass">' + _title + '</span>',
                    trackMouse: true,
                    userCls: 'hintClass2'
                });
                //el._toolTip.show()

 

image.png.73ff319180380d179ea6a058bc7f08b0.png

 

 

 

 

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...