1 Reply Latest reply on Apr 16, 2008 9:08 PM by atta707

    Datagrid to datagrid

    GeorgeWS Level 1
      I have a datagrid filled with an arraycollection. I want to select and brand and it show will show the items for that brand in another datagrid. Do I need 2 arrays how do they bind together. Anyone have a sample of this?

      Thanks

      George
        • 1. Re: Datagrid to datagrid
          atta707 Level 2
          > Do I need 2 arrays how do they bind together.

          that would be lot easier than keeping it on arraycollection and keep filtering. The second consideration would be whether you want to have the brands data fetched only once? This really depends on the amount of data you have.

          As I see it, on the click event of the brand grid, you'll need to apply filter on the second array collection -- or send a request to server -- to filter only the selected brand's data.