:: Forum >>

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
Wednesday, April 11, 2007
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)
Thursday, April 12, 2007
Alex, thanks for your answer.

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

Regards,
Rekcor
Wednesday, April 18, 2007

This topic is archived.


Back to support forum

Forum search