This content has been marked as final. Show 3 replies
How much data is involved? I would have my server query the database and create xml nodes from the main table, then for each of those main nodes, query the database for the related items, and adding them as sub-nodes to the correct main node.
Then, in flex, the selectedItem will contain all the information necessary to display the detail data however you choose.
If the data quantity is very large, you will need to re-query the database when the user clicks a row in the dg. Have a result handler function populate the item detail component as necessary.
USE RESULT HANDLER FUNCTIONS EVERYWHERE. Do not attempt this with binding.
This is a bit complex, but not difficult.
Thanks so much for your reply. Yes the data could be large. Can you please give me some examples of the XML nodes you are talking about and also the result handler. I really appreciate your response.. Thanks..
we offer developer to developer help for commercial projects.
if you are interested you can email me directly for rates.
might save you some time.