1. #1
    Sencha User Boston's Avatar
    Join Date
    Oct 2011
    Posts
    27
    Vote Rating
    0
    Answers
    3
    Boston is on a distinguished road

      0  

    Default Answered: tree to grid cell drag and drop

    Answered: tree to grid cell drag and drop


    Hello,

    at the moment I can copy an value out of a grid cell into an Tree as a lefe.

    But now I'm looking for a way to do it rhe othe rway round. I want to put a value out of a tree into a grid cell.

    When i use the dnd plugin a new row is added. This I can't use.

    I guess that ist is possible what I want to do, but I can't figure out how. It would be grat if someone could give me a push in the right direction.

  2. Solved it by using own functionality.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,532
    Vote Rating
    871
    Answers
    3564
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What do you mean it creates a new row? So when you drag a tree node to the grid it creates a new row but you want to update that row?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User Boston's Avatar
    Join Date
    Oct 2011
    Posts
    27
    Vote Rating
    0
    Answers
    3
    Boston is on a distinguished road

      0  

    Default


    Hello Mitchell,

    this is correct. What I have done until yet is, that I can drag the content of a grid cell and drop it as a leaf in a tree.

    Now I want to do it the other way round.

    I want to drag a leaf and drop it in a cell of the grid. I want to use it as a list of favorites.

    I'm not sure if this is possible at all. But I'm new on ExtJS and - if it is possible - I need a push in the right direction where I can find an approach for a solution.

    Regards
    Boston

  5. #4
    Sencha User Boston's Avatar
    Join Date
    Oct 2011
    Posts
    27
    Vote Rating
    0
    Answers
    3
    Boston is on a distinguished road

      0  

    Default


    Hello!

    Only one answer for the personal statistic?

    Does this mean that it is not possible what I want to do?

  6. #5
    Sencha User Boston's Avatar
    Join Date
    Oct 2011
    Posts
    27
    Vote Rating
    0
    Answers
    3
    Boston is on a distinguished road

      0  

    Default


    Solved it by using own functionality.

  7. #6
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    eric.morgan@healthrx.com is on a distinguished road

      0  

    Default


    Can you please post your solution? I'm trying to figure this out for myself with limited success.


  8. #7
    Sencha User Boston's Avatar
    Join Date
    Oct 2011
    Posts
    27
    Vote Rating
    0
    Answers
    3
    Boston is on a distinguished road

      0  

    Default


    II'm sorry, but I can't. I thought that I have had made a step in the right direction but then I saw that I would not solve my problem. So I stopped working at that approach.