4 Replies Latest reply on Aug 25, 2007 9:17 AM by ntsiii

    Datasorce selection to another datagrid

    scrattis
      Hi!

      I have an Datagrid where dataprovider is XML.
      It's like this:
      <item>
      <id>123</id>
      <value>123<</value>
      <value>123></value>
      </item>
      <item>
      <id>124</id>
      <value>123<</value>
      <value>123></value>
      </item>
      <item>
      <id>125</id>
      <value>123<</value>
      <value>123></value>
      </item>

      And in the first datagrid is only showed eg. the id.
      Now when I click the row and select one of the ID, I would like to populate the second datagrid with values from the selected id.

      How I can pass to the second datagrid only one item as dataprovider from the first datagrids dataprovider based on the selection?