Hi all,

requestFocus is documented as 'Attempts to gain focus to the component'. But this is not working as expecting. I programmed a key to gain focus for a component for testing purpose. But it is not working. How to get focus for a component.

Thanks.

George.

asked 27 Feb '13, 02:29

George's gravatar image

George
1111217
accept rate: 0%


Hi George,

The usage of the requestFocus API is similar with other api_component APIs, you should provide the component name in [panelDotComponentName] format.

There is a known problem about focusing to the components in the grid, we have already fixed this issue, it will be available in the next version.

If it's not your case, can you provide your scenario (your panel XML and action code) please?

Regards,
Ibrahim

link

answered 27 Feb '13, 04:03

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Hi Ibrahim,

This is the command I gave.

api_component.requestFocus('CM_MENU_FAVOURITE_GRID.DESC1');

As you told, since it is in the grid probably there is an issue. Waiting for the next version.

Thank you.

George.

(27 Feb '13, 04:27) George
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7
×3

Asked: 27 Feb '13, 02:29

Seen: 739 times

Last updated: 27 Feb '13, 04:27


© Copyright Gerger 2017