[CLOSED] Grid dragdrop dragtext problem after updating to latest Trunk

  1. #1

    [CLOSED] Grid dragdrop dragtext problem after updating to latest Trunk

    Hi,

    I had a custom dragtext in the afterrender handler of my GriddDragDrop:

    <AfterRender Handler="this.plugins[0].dragZone.getDragText = getDragDropText;" />
             var getDragDropText = function () {
                 var buf = [];
    
                 buf.push("<ul>");
    
                 Ext.each(this.view.panel.getSelectionModel().getSelection(), function (record) {
                     buf.push("<li>" + record.data.ExternalID + "</li>");
                 });
    
                 buf.push("</ul>");
    
                 return buf.join("");
             };
    After updating to latest version from SVN trunk I am getting the following error :
    Uncaught TypeError: Cannot set property 'getDragText' of undefined
    Any idea why it does not work anymore?

    Regards
    Last edited by Daniil; Apr 16, 2013 at 5:32 AM. Reason: [CLOSED]
  2. #2
    Hi @blueworld,

    Yes, it is related to some bug fix.

    Please try to add a small Delay.
    <AfterRender Handler="this.plugins[0].dragZone.getDragText = getDragDropText;" Delay="1" />

Similar Threads

  1. Replies: 17
    Last Post: Nov 25, 2013, 10:13 PM
  2. [CLOSED] Response Redirects fires exception after updating from trunk
    By profitsistemas in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 12, 2013, 12:07 AM
  3. [CLOSED] [Trunk SVN] Summary Grid error
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 17, 2013, 10:48 AM
  4. [CLOSED] Problem DragDrop Grid to Grid2
    By xeo4.it in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 19, 2010, 10:52 AM
  5. Problem with updating grid panel
    By Nagaraj K Hebbar in forum 1.x Help
    Replies: 0
    Last Post: May 09, 2009, 12:52 PM

Posting Permissions