||View All MessagesBack to WebFX|
Would it not work to set the target on the prototype... checking code... yeah, that should work|
WebFXTreeItem.prototype.target = "C"
Now all tree items will use C as target. Reset this to null or some other target for the nodes that do not need a target.
An alternative is to create a sub class that always use C as target
WebFXTreeItem.apply( this, arguments );
this.target = "C";
TreeItemTargetC.prototype = new WebFXTreeItem;