Results 1 to 2 of 2

Thread: Drag out of a grid to anywhere else

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    17

    Default Drag out of a grid to anywhere else

    Hi,

    I have a grid and I want to be able to drag items out of the grid to remove them.
    I dont want to create a separate drop target for the drop as I have so many different panels/tabs/views that could be visible.
    Is there some way to achieve this?

    Thanks

    Lee

  2. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Location
    Central Ohio
    Posts
    1,579

    Default

    Here's an example in 5.1.1 overriding the Ext.dd.DragZone beforeInvalidDrop method. The same applies the 4.x as well.

    Tristan Lee
    Sencha Inc - Sustaining Engineer


    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

Similar Threads

  1. Replies: 1
    Last Post: 22 Aug 2014, 1:25 AM
  2. Grid Drag Issue on Firefox - First Drag Doesn't Work
    By Ramsay in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 20 May 2013, 5:02 AM
  3. Drag and Drop editing(drag and copy) in extjs grid?
    By rishisaraf11 in forum Ext: Q&A
    Replies: 2
    Last Post: 16 Dec 2011, 6:45 AM
  4. [SOLVED] Grid to Grid Drag'n'Drop - Drag to a row
    By pouniok in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 27 Jul 2009, 2:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •