Could you use e4x xml as the master data, then use the node selection sepressions to return the xml or XMLList you want, and put that data subset into an XMLListCollection to take advantage of the cllection API?

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of ben.clinkinbeard
Sent: Monday, October 23, 2006 11:30 AM
To: [email protected]
Subject: [flexcoders] One data set, multiple DataGrids/views- best approach?

 

In an upcoming project I will need to provide multiple views of the
same data, most likely in the form of an XMLListCollection, in
multiple DataGrids. The scenario is that I will have a large master
set of data, but depending on which screen you are on you will only
see the appropriate parts of the data (proposed documents, generated
documents, approved documents, etc). I will also be using some
compound filterFunctions, so that on the screen displaying only the
approved documents, the user can additionally filter by document type,
etc.

My question, finally, is what is the best way to approach this? I have
toyed with the idea of making a copy of the data for each screen, but
that seems error prone and hackish as the data will be updating while
the application is being used. Should I change the filterFunction
being used when the user switches screens so I essentially have one
DataGrid shared between screens and the 'multiple views' is faked?
Should I break the data into pieces? Any advice or guidance is greatly
appreciated.

Thanks,
Ben

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to