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)
|
|