3.2.0

hasFocus?

Is it possible to know if a grid has focus?

obj.element().focus()


Sets the focus, but I want to know whether my grid has focus or not.
Rekcor
April 11,
As far as I know DOM does not provide hasFocus attribute or any other means to find out whether the element currently has focus. You are supposed listening to focus events to find which element has the focus.
Alex (ActiveWidgets)
April 12,
Alex, thanks for your answer.

When I have more spare time I'll try to find a solution, and post it here.

Regards,
Rekcor
April 18,

This topic is archived.


Back to support forum