Extjs4.2 Desktop icon dragging white screen Solution

Source: Internet
Author: User

Extjs4.2 Desktop icon dragging white screen Solution

Last time I made a desktop demo of extjs4.2, I stripped the desktop from the original package, and changed the desktop icon columns and dragged the desktop icon, however, if you drag the desktop icon, a white screen is displayed. After testing, this problem extjs4.2 and Extjs5.0 both exist,

After repeated debugging, I found that the added code is correct. The problem lies in the Custom class of extjs, in Ext of extjs4.1. define ('ext. dd. dragZone '... in the definition

AfterRepair: function () {var me = this; if (Ext. enableFx) {Ext. fly (me. dragData. ddel ). highlight (me. repairHighlightColor);} me. dragging = false ;},

This code is to deal with the subsequent work after dragging, and in the 'ext. dd. in the definition of DragZone, I don't know why. Without this code, I just need to add this code and the problem will no longer appear. After a day, the problem can be solved perfectly. In fact, the problem is not complicated, it is difficult to find the problem.

Is EXTjs4.2 desktop, which achieves the effect of wrapping and dragging the icon

Extjs5.0 has the same problem. It should be the same reason, but not tested.

The demo code is available in my resource downloads.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.