How do you instantiate a new data grid dynamically ? Does it make sense to use Modules ? I was thinking to implement the results data grid as a module and load a new module instance as requested.
--- On Thu, 1/8/09, valdhor <[email protected]> wrote: From: valdhor <[email protected]> Subject: [flexcoders] Re: multiple instances of a datagrid To: [email protected] Date: Thursday, January 8, 2009, 2:35 PM I have done something similar in the past. I used FlexMDI (Part of FlexLib: http://code. google.com/ p/flexlib/ . Examples at http://code. google.com/ p/flexmdi/) I have a custom datagrid component with all the columns set up the way I need. I have a custom FlexMDI window that has the datagrid embedded. I then have a search form that queries a database. When the data returns, it creates a new custom FlexMDI window with the data. The user can minimize the window and initiate a new search. They can then restore both windows and compare the results. --- In flexcod...@yahoogro ups.com, Alex Eric Oscar <alexeoscar@ ...> wrote: > > I have a requirement to develop a simple search & results application in Flex. In the search canvas users would specify a criteria and the results would be displayed in a datagrid. The challenge is they also want to ability pin the results panel for some searches; when they do this, subsequent search results would be displayed in another instance of the results grid, not to override the results already displayed on the pinned one (If they keep pinning, this would end up looking like an MDI application) . > > I appreciate any recommendations to design such a behavior. > cheers -alexE >

