开发者

Cancel dropping a node in GRID in extjs

开发者 https://www.devze.com 2023-01-18 13:07 出处:网络
There is isValidDropPoint() in TreeDropZone 开发者_C百科from which if we return false then it will not drop that node (or goto beforenodedrop event)

There is isValidDropPoint() in TreeDropZone 开发者_C百科from which if we return false then it will not drop that node (or goto beforenodedrop event)

I want to know what function is there in GRID from which if i return false then it will not drop that node (or goto notifyDrop event)

Thanks alot in advance Regards


Take a look at this example by Saki: http://examples.extjs.eu/?ex=ddgrids

He defines a DropZone for the grid called Example.GridDropZone. If the onContainerOver function returns this.dropNotAllowed, the drop operation won't be allowed.

0

精彩评论

暂无评论...
验证码 换一张
取 消