I have a datagrid. How can I put the focus on a particular row (ie row #5) of a datagrid via actionscript?
I’m partially there, but not quite:
stage.focus = myDG;
this obviously just sets the focus to the datagrid and not the row.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Also, if the row you want selected is not currently visible (and you need to scroll down), just call
scrollToIndex(5)