Re: [qooxdoo-devel] QxTree & QxTreeFile issues

2006-04-10 Thread Sebastian Werner
Jim Hunter schrieb: That was a good idea using _beforeAppear or _afterAppear and they almost worked. They did set the item as selected and when I clicked on another item the first one did get un-selected. The problem was then when I did a show on the list a second time (this list is hidden exce

Re: [qooxdoo-devel] QxTree & QxTreeFile issues

2006-04-06 Thread Jim Hunter
That was a good idea using _beforeAppear or _afterAppear and they almost worked. They did set the item as selected and when I clicked on another item the first one did get un-selected. The problem was then when I did a show on the list a second time (this list is hidden except when needed) the orig

Re: [qooxdoo-devel] QxTree & QxTreeFile issues

2006-04-06 Thread Sebastian Werner
Hi Jim, I would suggest to select this initially using a beforeAppear event (of this file/folder) instead. The problem is that this selection stuff needs the selection manager of the tree. You must add the child to the tree first, before you can select it. Alterativly it should also be possib

[qooxdoo-devel] QxTree & QxTreeFile issues

2006-04-06 Thread Jim Hunter
I have a QxTree that has about 50 QxTreeFile items in 11 QxTreeFolder objects. I am initially setting one of the QxTreeFile items to selected via setSelected(true). This works and when I display the tree that item is showing as selected. The issue is that when I select another item, the first one d