Thank you Alex,

If thats the answer from you ( Adobe ), I have nothing to say. I just 
thought there would be a nicer approach ... but the datagrid class is 
such a beast ... :/

Thank you again for your help.

Alberto

Alex Harui escribió:
>
> I don’t think I’d extend DG for that. I’d just stretch a label over 
> the columns. You can listen for events from the DG to keep 
> ‘extendedHeader’ in sync.
>
> <canvas>
>
> <canvas id=”extendedHeader” backgroundColor=”#ffffff” >
>
> <label text=”Personal Data”>
>
> </canvas>
>
> <datagrid id=”dg”>
>
> </canvas>
>
> ------------------------------------------------------------------------
>
> *From:* [email protected] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Alberto Albericio
> *Sent:* Wednesday, March 07, 2007 4:14 AM
> *To:* [email protected]
> *Subject:* [flexcomponents] Extending Datagrid Headers
>
> Hi all,
>
> I need to extend the Datagrid control in order to draw an extra header
> that "lables" groups of columns. This extra header does not need to be
> functional but only informative.
>
> I wanted to ask you, guys, what is the best approach to achieve this?
>
> I would also like to specify the groups by setting some kind of
> parameter of the new datagrid component. In the example ( jpg )
> attached, it would be something like this:
>
> <custom:exDatagrig
> groups="[ { columns: [ age, money ], label: 'Personal data' } ]"
> ...
> />
>
> Thank you all.
>
> Alberto
>
>  


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcomponents/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