1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    27
    Vote Rating
    0
    JAD1951 is on a distinguished road

      0  

    Default Dragging from tree to grid

    Dragging from tree to grid


    When I drag an item from a tree to a grid I would like to create a new structure inside the grid based on the dragged data or, it is my case, I would like to launch an AJAX (based on the dragged data) to load a new record(s) to grid store. So I would like to modify the 'handleNodeDrop' inside the 'Ext.grid.ViewDropZone' (see ext-all-debug.js, ligne 111058). Can I override this function ? Or ... ?

    Best regards

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    If it were me I think I'd probably extend Ext.grid.ViewDropZone and also Ext.grid.plugin.DragDrop to use my version of ViewDropZone that has the modified handleDrop method.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Posts
    27
    Vote Rating
    0
    JAD1951 is on a distinguished road

      0  

    Default


    My problem has begun with the changing of the mouse behaviour : when I want to drag an item from tree then the "mouse down" is defined like clicked and this item is selected. It was not a behaviour for the ExtJs 3.3.
    Exemple: I select an item inside the project view and this click launch the loading the forms. Inside the one form I have a grid which shows the references to the items inside the tree view. When I place a mouse over an item and then I do mouse down to make a drag then the selection change and the forms are reloaded.
    I think that this behaviour is adapted to the tactile ecrans.
    So, en résumé, in which way I can drag a non selected item ?

    Best regards

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi