:: Forum >> Version 2 >>

Focus first input in header grid

Hello,

I want to focus the first input in the header of my grid, but it doesn't work, I try to do it to a AW.UI.Input which is not in the header and it's work. what is the difference ?

the javascript code :
function setFocus(value)
   {
        
document.getElementById(value).focus();
   }
 
And html code :
<body onload="setFocus('myGrid-header-2-1-box-text');" If Someone could help me.
G. Caplain
Thursday, October 15, 2009
<body onload="setFocus('myGrid-header-2-1-box-text');">
Monday, January 25, 2010

Post a reply:

Text:
Name:

Back to support forum

Forum search