0 Replies Latest reply on Mar 12, 2010 9:09 AM by mrJens

    DragDrop between datagrid and list

    mrJens Level 1

      HI,

       

      I have with success made a custom dragdrop from a datagrid to a list.

       

      First it was simple guest-names in the datagrid. But now I have loaded a guestlist to the datagrid from XML. The names only are showing in the datagrid, but when I drag and drop to the List, all of the XML for a choosen guest drops on the list..

       

      XML looks like this, and all of that is being displayed in the list after a drop:

       

      <bemyguests>

      <guest id="1">

      <name>Poul</name>

      <lastname>Jensen</lastname>

      <adress>Platanvej 4</adress>

      </guest>

      ..

      ..

       

      I am only interessted in getting the name 'Poul' dropped on the list.. Where do I adjust that so it dos not just take bulk data to the list.

       

      Is in the dragsource somehow?

       

      best regards

      jens