On 3/12/15, 5:29 AM, "Oleg Konovalov" <[email protected]> wrote:
>Another problem I have there is that all that DataGroup is in a Scroller, >and when user clicks Add button, it supposed to automatically scroll to >that last New item. >I tried to get a Delta using END, didn't work or calculate it, but never >reached last item. Any idea how to do it in 4.5.1? Did you try: ensureCellIsVisible()? And regarding your initial problem, does spark.components.gridClasses.ComboBoxGridItemEditor perform in the way you want? Are you using it or some derivation of it in your app? -Alex >On Mar 11, 2015 6:32 PM, "Oleg Konovalov" <[email protected]> wrote: > >> I am in Flex 4.5.1. >> >> Locking DDL is a major problem for me... >> On Mar 11, 2015 3:46 PM, "Oleg Konovalov" <[email protected]> wrote: >> >>> Hi, >>> >>> I have a renderer in DataGroup, which has 2 DropDownList's, and they >>> behave really bad: >>> 1) User has to click twice to select an item, because on first click >>>when >>> user selects an item, it still shows selectedItem="undefined". >>> And I had to put ddl.closeDropDown(true) to close it, before that it >>>was >>> not closing. >>> 2) after item is selected, user can not change selection, because >>> dropdown is locked and would not open. >>> The only was to unlock it is to comment out data.itemId = >>> ddl1.selectedItem.itemId. But then how do I pass data to the parent >>> DataGroup? >>> >>> I have similar code working for ComboBox, but how can I make it work on >>> selection only, not on user typing. Tried selectionRequired, but still >>>can >>> type there. >>> >>> Please help! >>> >>> TIA, >>> Oleg >>> >>
