Cancel dropping a node in GRID in extjs
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.
精彩评论