curious, what is a good approach to making this label appear the same as the
DG header?

DK

On 07 Mar 2007 09:33:10 -0800, Alex Harui <[EMAIL PROTECTED]> wrote:

   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:flexcompone
[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




--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

Reply via email to