Re: [flexcoders] Another DataGrid itemEditor ComboBox challenge

2006-10-19 Thread Aaron West
Good to know and thanks for posting. I wasn't aware of that keyword but there are others like parentDocument you can use in custom MXML components. And of course in custom components built using AS3 there's the Application.application.* reference available after importing mx.core.Application.

[flexcoders] Another DataGrid itemEditor ComboBox challenge

2006-10-18 Thread iko_knyphausen
I am trying to use a drop-down combo as itemEditor for a datagrid column. Everything is honkey-dory when the itemEditor is defined as a component (like the inlineEditor example in the docs) with static array of strings (or objects, if you want). Trouble comes into paradise when you want to have

RE: [flexcoders] Another DataGrid itemEditor ComboBox challenge

2006-10-18 Thread Iko Knyphausen
] Another DataGrid itemEditor ComboBox challenge I ran into this same problem with item renderers and item editors and DataGrid's. The only thing I could think of was the item renderers/editors only exist in the runtime context and therefore cannot reference any variables defined