If you want to make your own DataGrid header row and still retain
sorting functionality, make each header a button with code which
calls something like:
dg.content_mc.header_mc.hO1.onRelease();
"dg" is your datagrid, and the "1" is the index of the column. Note
that's a letter-o before it, not number-zero.
-josh
On May 31, 2006, at 2:03p, Michael Hood wrote:
Doug:
Interestingly, your solution for the header is one that I actually
resorted to, but then I lose all of that nifty functionality, like
sorting, column size, and other bells and whistles.
I see what you are saying about enhancing the colors to envelop the
rows that "go together" (making them appear as one row). That's a
good idea, I'll have to see how/if I can get that to work. I just
don't quite know how to "trick" that data into working that way -
like, does it need to happen in Perl, or in AS, or both? :-)
Any other ideas on how to do a multi-line header bar in a Data Grid
and multi-line returned rows, I'd be thrilled to entertain them!
Thanks for your suggestions!
Michael Hood
Internal Applications Dev ADMS/ CMS/ Armory
URL: http://www.futuremike.com
Email: [EMAIL PROTECTED] (w) & [EMAIL PROTECTED] (h)
["All we have to decide is what to do with the time that is given
to us." -Gandalf- Lord of the Rings]
Message: 12
Date: Wed, 31 May 2006 13:27:56 -0400
From: "Doug Coning" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] DATA GRID CUSTOMIZATION
To: "Flashcoders mailing list" <[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
You may be better off turning off the header and creating your own
header that replicates what you want. Then set up the datagrid to
show
the rows correctly. If you can't put all the information within a
single row, you may want to use the enhance grid and have it set the
back ground colors for rows that go together (i.e. rows 1-4 would
be the
same record, rows 5 - 9, etc...)
Just my 2 cents...
Doug Coning
Senior Web Development Programmer
FORUM Solutions, LLC
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com