Answered
How to make a default selection in a List component?
Hi!
I need that when the list appears is shows a selected cell, I tried this but didn´t worked:
list.isItemSelected(0)=true;
Hi!
I need that when the list appears is shows a selected cell, I tried this but didn´t worked:
list.isItemSelected(0)=true;
You should only need to assign the selectedIndex property, as in...
list.selectedIndex = 0;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.