Thanks for the reply, but unfortunately I don't follow all of it.  I'm
new to Flex, so could you please explain more?  I get the AS3
extending DataGrid.  How can you dynamically set the dataProvider to
pass in info to the headerRenderer?  A small snippet of code would be
greatly appreciated.

Thanks again,
jelentz
--- In [email protected], Aaron West <[EMAIL PROTECTED]> wrote:
>
> jelentz,
> 
> Based on my limited experience I would suggest creating a custom
> AS3 class that extends DataGrid.  You can then dynamically set the
> dataProvider, loop through whatever part of the data provider you
> need, and based on the values therein create the number of
> data grid columns you need.
> 
> 
> |  Aaron West
> |  aaron AT trajiklyhip DOT com
> |  http://www.trajiklyhip.com/blog/
> |  Certified Advanced Adobe ColdFusion MX 7 Developer
> |  Certified Macromedia FlashMX Developer
> |  Adobe Community Expert
> 
> 
> On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote:
> 
> > Hi,
> >
> > I've got an app where I need a DataGrid that will have a varying
> > number of columns based on the value from a database query.  I also
> > need to be able to have each column header display a couple of images
> > and the text provided by the database query.  Is there a way to use a
> > dataprovider to   create a varying number of columns, and to use the
> > dataprovider to pass in images and text?  I've looked for examples and
> > haven't had much luck finding any that I could follow.  A simplified
> > explanation would be greatly appreciated.
> >
> > Thank you,
> >
> > jelentz
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to