 |
|
 |
Hi,
This is so cool!
Can you add drag & drop to change the order between the nodes? Also, drag one node into the parent node?
Thanks a lot,
tnd
|
|
|
|
 |
|
 |
Hello Nathan,
In V2.0 you had an explict license in the file (see below). Does this license also apply to V3.0?
Kind regards
Erich
------------------------------
JScript TreeListControl v2.0
------------------------------
author: Nathan Ridley
email: generalgherkin@yahoo.com
web: www.extroversity.com (inactive at the moment - September 14 2002)
Legal:
This control is free for commercial and non-commercial use provided that I am credited and
this header is not removed or changed in any way. Please email me if you are using it!
|
|
|
|
 |
|
 |
Hi,
I'm trying to get the text of the node in the click function.
In function TreeListControlNode
I added:
this.name = '';
Then in the TreeListControlNode.prototype.setColumnText
I added:
sText ?(this.name = sText):this.name ='';
Then the click() ::
alert(this.name);
But this alert does not get anything.
Can somebody help to solve my problem?
Either help me get another solution or tell me what I should be doing to solve this problem.
Anticipating a quick help,
Regards
Shiffauli
|
|
|
|
 |
|
 |
If I disable to useIcon, then tree dont work properly.
problem comes when you try to close a node, it shows wrong icons. and further i am not able to open the node again.
|
|
|
|
 |
|
 |
adding this.recalcImages(); in TreeListControlNode.prototype.collapse = function() { } fixed it.
|
|
|
|
 |
|
 |
Great tree!
Could you give me some guidance on how to move a node up and down.
I wish to be able to select a node and click "moveup" or "move down".
I can get back the ID of the selected node but am having trouble getting the ID of the previous or next sibling.
Thanks
|
|
|
|
 |
|
 |
Hi, does this tree control work over SSL ? We had some problems with our own treecontrol that uses XMLDOM on the client side. When running over SSL, it didn't work because of some Microsoft MSXML 3.0 limitation.
|
|
|
|
 |
|
 |
Hi, I would like to this tree list can scroll when there are so much node. In your code, I added like : ..... div id="treelistcontrol' + this.ID + '" class="treelistcontrol" style="overflow: auto; height: 300; ...... It can scroll when height is greater than 300. But I received an error design that rows display incorectly(they are mixed together) but when I did mouseover in rows, they displayed rightly. Please help me.
TreeListControl.prototype.toString = function() { .................. str = '<div id="treelistcontrol' + this.ID + '" class="treelistcontrol" style="<b>overflow: auto; height: 300;</b> width:' + (x + 4) + 'px;"><div class="tlc_headings" style="display:expression(TreeListControlHandler.allTrees[' + this.ID + '].showColumnHeadings ? \'block\' : \'none\');">' + str + .................. } -- modified at 21:46 Thursday 29th September, 2005
|
|
|
|
 |
|
 |
HI,
I solved this. Please see the below solution.
THanks.
|
|
|
|
 |
|
 |
where is the solution for the scroll bar please (the rigth one)
|
|
|
|
 |
|
 |
Hi,
When I test the script on my local machine, everything works.
(var node11 = new TreeListControlNode(false, 'tlcimages/single_note.gif', 'test3.xml');)
when I upload the files onto a remote web server, everything works appart from the part supposed to load the xml part.
When I click on the expand sign, the following message appears in red "Unavailable - 405".
Can you help please ?
Thanks
Gaëtan
|
|
|
|
 |
|
 |
var node = new TreeListControlNode(false, '', 'http://localhost:8000/procurement/tree.xml');
when i change the expand function:
this.xmlhttp.open("POST", this.sXMLSrc, true); get 412 error
this.xmlhttp.open("GET", this.sXMLSrc, true); get 200 error
|
|
|
|
 |
|
 |
in treelistcontrol.js ,in xmlCallback() function ,the xmlhttp right status code is 200, not 0,so i often get' Unavailable -- 200'.
when i change :
if(this.xmlhttp.status==0) {
to:
if(this.xmlhttp.status==200) {
it is work.
|
|
|
|
 |
|
 |
Control is cool, but your sample is not working good with Mozilla Firefox...
|
|
|
|
 |
|
 |
I am using an old version (2.0) of Tree list control and after upgrading IE to version 6 with service pack 1 "resizing columns" option
does not function anymore. Any ideas ?
Thanks,
Lilya
|
|
|
|
 |
|
 |
Hi, I have abandoned version 2.0 of the control because it is very slow and unresponsive when it has more than a few nodes. At some stage I may put that functionality into a version 4 control, but that won't be for a while.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
 |
|
 |
Hi All,
There is a bug with the UI if you set the parameters to hide both the root node and the column headings. (i.e., set this line in the demo to "tree = new TreeListControl('Test Tree', '', true, true);").
The first two lines of the display will be drawn on top of each other. If you swipe your mouse over the view, you can get it to fix, but I would like to prevent this from happening in the first place. Any pointers on where to look?
Thanks much!!
-Kyle
|
|
|
|
 |
|
 |
Hi,
I alse got above problem, please help.
Thanks.
|
|
|
|
 |
|
 |
Hi,
I found a solution for this bug. We just focus on this DIV tree by get tree object and setFocus().
Thanks.
|
|
|
|
 |
|
 |
Nathan, thanks for this excellent tree library!
Would you be able to describe a little about how the UI is updated?
Specifically I'm looking for a manual way to trigger 'redraw all nodes', or to learn more about how this is done, because the implimentation is quite advanced.
If you're curious -
Specifically, I've altered your code to add a drag and drop handler so that nodes can be moved around with the mouse, and it's working perfectly, including the display. Now, I reversed the add logic around so that when a new node is added to another node that already has several children, the new node will be inserted as the first child of the parent instead of the last. Since the UI was updating correctly until I reversed it, I'm assuming there is something I'm not getting or can't find as to why it's not redisplaying correctly. Interestingly, if you move the mouse over the 'bad' UI, it will automatically correct, but I can't find an onmouseover or similar handler that would cause this.
(I'd be happy to share with you when I'm complete, if interested.)
Thanks much,
-Kyle
|
|
|
|
 |
|
 |
how much does it cost to make JScript Tree List Control v3.0 resizable?
I need it very urgent.
|
|
|
|
 |
|
 |
Not something I have time to do at the moment unfortunately. Perhaps you could post the job on www.rentacoder.com. Many of the coders there are very cheap and do a good job.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
 |
|
 |
Hi all,
I tried this JScript Tree List Control v3.0, it's very good.
Now, I want nodes loaded at run-time when parent is expanded, document said that you can set the strXMLSrc to the URL of the XML file, but it's not work, it always returns "Unavailable -200".
Does anyone have the same problem and how to overcome it?
I used IIS 5.0 to put an XML sample file at my site and try to set strXMLSrc to it.
Thanks and Regards
Bang
|
|
|
|
 |
|
 |
The XML being called must be in the same domain as the HTML containing the tree control. Try uploading your html file to the server as well and calling it from there.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
 |
|
 |
Hi dear
Your tree is good . but can u help me to make a explorer like view. i.e there is a left and right pane . left pane has a tree and right pane(a IFRAME) will display a file containing folders . when user click on the tree node the sub node will be shown in right pane as folders and if user double click the folder. it moved to leaf and also the tree in left get expanded.You can just see window explorer (window key+e) to take an idea what i want to do. any suggetion or help . you can also mail me at Neerajrk@rediffmail.com in this regard.
Neeraj
|
|
|
|
 |