Jump to content

JS Code To Set Focus To TUniDBGrid Fails


Frederick

Recommended Posts

I am trying an alternative way to set focus to the TUniDBGrid with the following code:-

UniSession.AddJS (FDbGrid.JSName + '. Focus ();');

as mentioned in topic http://forums.unigui.com/index.php?/topic/13447-tunigrid-focus/&tab=comments#comment-71967

However, UniGUI reports an Ajax error.

What is the proper syntax?

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1514)
 

jserror.png

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