[CLOSED] DataView Drag & Drop

Page 2 of 2 FirstFirst 12
  1. #11
    Ok, but I prefer not to make changes in plugins that next version will provide me, because this implies a future mantenaince.
    I prefer use ExtJS 4.2 plugin unchanged and use it normally.

    Is there any way to work with onCellDrop listener with generic plugin or I must implement something else to do it?
    I don't often use generic plugin, an example would be apreciated.

    Thanks.
  2. #12
    The OnCellDrop event seems to be not executed at all. Maybe, the plugin's creator forgot about it.

    I think overriding the onNodeDrop function is the only appropriate solution. If you don't want to override the plugin itself, you can override that function this way.
    <ext:GridView runat="server">
        <Plugins>
            <ext:GenericPlugin runat="server" PluginId="CellDragDrop" InstanceName="Ext.ux.CellDragDrop" />
        </Plugins>
        <Listeners>
            <AfterRender 
                Handler="this.getPlugin('CellDragDrop').dropZone.onNodeDrop = function (target, dd, e, dragData) {
                             console.log('onNodeDrop');
                         };" 
                Delay="1" />
        </Listeners>
    </ext:GridView>
  3. #13
    Ok, thanks.

    I 'll override this method in this way
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] DataView to DataView Drag and Drop
    By paulc in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:19 PM
  2. Drag and drop reordering in Dataview
    By jophinm in forum 1.x Help
    Replies: 2
    Last Post: Nov 11, 2011, 11:19 AM
  3. [CLOSED] Drag-Drop From DataView to TreePanel
    By juanpablo.belli@huddle.com.ar in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 11, 2009, 6:46 AM
  4. [CLOSED] MultiSelect with drag and drop, Drop listener
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 30, 2009, 8:25 AM

Tags for this Thread

Posting Permissions