Apr 09, 2013, 12:32 PM
[CLOSED] Grid dragdrop dragtext problem after updating to latest Trunk
Hi,
I had a custom dragtext in the afterrender handler of my GriddDragDrop:
Any idea why it does not work anymore?
Regards
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
Regards
Last edited by Daniil; Apr 16, 2013 at 5:32 AM.
Reason: [CLOSED]