/ Published in: ActionScript 3
Expand |
Embed | Plain Text
private var autoCompleteDropDownShown:Boolean = false; /** * Removes filters on the dataprovider so that the whole list can be shown when the AutoComplete * component is clicked. showDropDown on the AdvancedAutoComplete component is called. * If clicked again, hideDropDown is called. */ public function onClickAutoComplete():void { if ( organizationList != null ) { organizationList.filterFunction = null; organizationList.refresh(); if ( !autoCompleteDropDownShown ) { orgAutoComplete.showDropDown(); autoCompleteDropDownShown = true; } else { orgAutoComplete.hideDropDown(); autoCompleteDropDownShown = false; } } }
You need to login to post a comment.
