Link to home
Start Free TrialLog in
Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on

put the mouse cursor in editable box

hi guys
In itemEditEndHandler() i am doing validation for each cell.

private function itemEditEndHandler(event:AdvancedDataGridEvent):void{
if(event.currentTarget.columns[event.columnIndex].editable){
if(id == null || id == ""){
Alert.show(ERROR);
}
put the mouse cursor in editable cell. Any idea how i can put the mouse cursor in the editable cell which has the error?
            }

thanks
ASKER CERTIFIED SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
btw, what about closing some of your open questions?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jay Roy

ASKER

>>>drawFocusTo(event.currentTarget);  -- error on this line
currentTarget  is of type Object but you are passing it to UIComponent
drawFocusTo(object:UIComponent):

any idea?
Did you try my suggestion?
Thanx 4 axxepting