PDA

View Full Version : [CLOSED] Grid DragDrop plugin issue



bayoglu
May 07, 2013, 11:04 AM
Hello,

I have the following GridView definition with dragdrop plugin. During the page load, this.plugins[0].dragZone is undefined so I get a js error in IE 10. Do you have a suggestion?



<View>
<ext:GridView runat="server">
<Plugins>
<ext:GridDragDrop runat="server" DragGroup="DDRanking"></ext:GridDragDrop>
</Plugins>
<Listeners>
<AfterRender Handler="this.plugins[0].dragZone.getDragText = getDragDropText;" />
</Listeners>
</ext:GridView>
</View>


I can set the condition in AfterRender handler "if(this.plugins[0].dragZone){...}" but in this case no drag text is created at all.

Thanks.

Daniil
May 07, 2013, 1:34 PM
Hi @bayoglu,

Please try Delay="1" for the AfterRender listener.

bayoglu
May 07, 2013, 1:38 PM
Hi Daniil,

I already tried, it did not help unfortunately.

Daniil
May 07, 2013, 2:46 PM
Delay="1" helps me. Please provide a full test case.

bayoglu
May 07, 2013, 3:10 PM
Hi @Daniil,

Sorry, I was trying with the wrong component's Delay attribute. Issue solved, please mark as closed.
Thanks.