Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Which is less resource intensive?

Which is less resource intensive?

2004-03-15       - By John_Sheridan

 Back
Hello,

I have a vertical button bar (containing 6 buttons) on the left, and a
Grid Control on the right.  Each button press, represents a different
dataset, which gets displayed in the Grid on the right.

Now, what is more economical (or easy for the developer as well): Having
6 instances of the Grid, all preformatted for the particular dataset in
which it displays upon button press?

-OR-

Simply having one Grid control, and then changing the dataSource
property, upon button press?

I'm just curious if there are any advantages or disadvantages going
either way...

I understand of course, down the road, if I want to customize the cells,
and have specific Grid formats for specific datasets, that I may be
better off to have a dedicated Grid control for each dataset.  But
overall, I'd like your input.

Thanks,

John


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107013
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)