Here's my problem, as soon as I make the datagrid editable so that the selection can be passed from renderer to datagrid the scroll bars in the dropDownList fail to work. What can be done, nobody seems to know. If you know please let everyone know.
Looks like a bug. It's been reported already, but not fixed yet: http://bugs.adobe.com/jira/browse/SDK-27783
mx:ComboBox seems to work correctly, so you can revert to that until it's fixed if need be.
Last edited by Inigoesdr; 09-09-2010 at 02:57 AM..
One guy at Adobe said it could be done using the owner property.
I'm a little vague as to how it would be done but what he said was this.
Alex Harui, said "And one way to do that might be to put an id=”foo” on the DropDownList and watch for the “open” event and set foo.dropDown.owner = this;"
I could reach dropDown from foo if I didn't use a skin but couldn't reach owner,
And if I used a skin dropDown was not available.
Alex Harui, said "And one way to do that might be to put an id=”foo” on the DropDownList and watch for the “open” event and set foo.dropDown.owner = this;"
I could reach dropDown from foo if I didn't use a skin but couldn't reach owner,
And if I used a skin dropDown was not available.
Any ideas?
- Stephen
It doesn't look like you can set the owner property on foo.dropDown. It might be inaccessible in the parent class. It looks like Alex's theory is at least pointing in the right direction: