setSelected Method |
Sets a value indicating where this option is selected or unselected.
function setSelected(state);
state
Type: Boolean The selection state of this option.Type: Boolean
Returns true if the operation completed successfully; otherwise false.Setting the selection state to true using this method will unselect all other options unless this is a ListField which supports multiple selections.