Jump to content

How to set focus to an uniEdit


bbm

Recommended Posts

Hi,

 

no. Currently I made a work arround. 

I create an ajax event in the afterrender ExtEvent.

Then I can use the UniEdit.SetFocus in the OnAjaxEvent.

 

Thank you all.

 

Best regards

Link to comment
Share on other sites

  • 7 months later...
9 hours ago, rtalmeida said:

When I needed it, I was told to do so:

UniFormAfterShow

    UniSession.AddJS('setTimeout(function(){'+UniEdit2.JSName +'.focus()}, 100)');

 

 

rtalmeidathanks a lot for this tip. For Frames I tested UniFrameReady an also works!

Link to comment
Share on other sites

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...