PDA

View Full Version : Ext.tree.TreeDropZone -> html tags in title of treeNode



voytaz78
23 Dec 2010, 6:36 AM
I have a problem with droping to TreeNode which have in title html tags, for exaple <b></b> <span></span>
OnNodeOver on title I have notAllowed Status, but on icon or on background <div> I have allowed Status.

Any solusions for this problem?

Best regards

Condor
23 Dec 2010, 7:03 AM
This is not a real solution, but you could try the following workaround:

Ext.override(Ext.tree.TreeNodeUI, {
getDDHandles : function(){
return [this.iconNode, this.textNode, this.elNode].concat(Ext.query('*', this.textNode);
}
});

voytaz78
23 Dec 2010, 12:06 PM
It's works, you are great

Thanks a lot again