Tracy,
For the novice, how would you go about creating a full renderer?
TIA,
Tino
On Sat, Dec 19, 2009 at 11:14 AM, Tracy Spratt <[email protected]> wrote:
>
>
> Issues like this are one reason I avoid in-line renderers for anything
> but simple, non-interactive display. They are very hard to debug. If you
> create a full renderer component, you can fully debug what is happening or
> not.
>
>
>
> If you decide to go this route, find an example and modify it for your
> needs, rather than starting from scratch.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
> ------------------------------
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Alex Harui
> *Sent:* Thursday, December 17, 2009 2:28 PM
> *To:* [email protected]
> *Subject:* [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty
>
>
>
>
>
> Is there [Bindable] before var genreList:ArrayCollection?
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *emarionjacobs
> *Sent:* Wednesday, December 16, 2009 3:02 PM
> *To:* [email protected]
> *Subject:* [flexcoders] Re: Combobox in Datagrid appears empty
>
>
>
>
>
>
>
> Yes, genreList is declared as an ArrayCollection in the model, and the
> model is declared as Bindable in the parent document for the datagrid.
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, Alex
> Harui <aha...@...> wrote:
> >
> > Are you sure genreList is an array or ArrayCollection? Is the model
> bindable?
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: [email protected] <flexcoders%40yahoogroups.com> [mailto:
> [email protected] <flexcoders%40yahoogroups.com>] On Behalf Of
> emarionjacobs
> > Sent: Tuesday, December 15, 2009 4:26 PM
> > To: [email protected] <flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Combobox in Datagrid appears empty
> >
> >
> >
> > I have a simple Combobox defined as the itemEditor for a DataGrid as
> shown below. The ArrayCollection that is its DataProvider is populated from
> creationComplete of the parent Canvas - and I can see the data going in via
> the debugger. However, when I insert a row into the datagrid under the
> circumstances that make the column editable and actually click on that
> column, I only see an empty row popping up under the combobox, never any
> data. Can anyone shed any light on what's missing here?
> >
> > <mx:DataGridColumn
> > dataField="Genre"
> > editable="{chartTrackListGrid.selectedItem.TrackCode == null}">
> > <mx:itemEditor>
> > <mx:Component>
> > <mx:ComboBox
> > dataProvider="{parentDocument.model.genreList}"
> > labelField="Name" />
> > </mx:Component>
> > </mx:itemEditor>
> > </mx:DataGridColumn>
> >
>
>