Threaded View

  1. #1
    Sencha User
    Join Date
    Sep 2008
    Location
    Munich
    Posts
    17
    Vote Rating
    1
    roemisch is on a distinguished road

      0  

    Default Drag&Drop from grid to grid does not work inside tab panel

    Drag&Drop from grid to grid does not work inside tab panel


    I have constructed the following panel to edit system roles: (see attachment jpg)

    The left gridPanel ("assigned functions") and the right gridPanel ("unassigned functions") are items of a containing Panel.

    When this containing Panel is not an item within a tabpanel, the drag & drop works.

    NOW THE ERROR:
    When this containg Panel is now a TabPanel item (as shown in the attached jpg), then the definition of the DropZone Container element does not work anymore as in the following code line now the ".el" method returns nil:

    var acl_privileges_droptarget_el = acl_privileges_grid.getView().el.dom.childNodes[0].childNodes[1];

    I tried with and without lazy instantiation - but that does not make any difference.
    Does anyone know this problem or has a solution ?
    I also want to mention that on the other two tabs there are also such drag & drop grids.

    I am fighting this problem since two days - but now other information in the forums could help me.
    Attached Images

Thread Participants: 1