WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 xTree docs incomplete?, Krzysztof Sobolewski, August 2, 2002
     Re:xTree docs incomplete?, Erik Arvidsson, August 2, 2002

Subject: xTree docs incomplete? From: Krzysztof Sobolewski Date: August 2, 2002

The docs for xTree says, that version 1.1 added ability to remove and add nodes dynamicaly, but the API part doesn't mention WebFXTree.remove() method. Is this because it causes lots of problems and is not really working? :) (at least it doesn't work for me...)

I had also problems with extending WebFXLoadTreeItem - in order to extend it, I need to specify a prototype. To specify a prototype I need to create an instance, but without XML source. The xLoadTree requires the argument with XML source and generates errors if you omit it. I "fixed" it by adding these two lines:

 if (!sXmlSrc)
  return;

to WebFXLoadTreeItem constructor just before if (this.open){...} and it works, but I'm not sure if that's good ;)

-Krzysztof Sobolewski




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX