Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-08 Thread marcounet
You're welcome :-) This website is a collection of notes that I take while I'm learning Qooxdoo (and a lot of other IT related things). Everything may not be as accurate as it could be, but I'm trying to include a lot of examples and make something easier to understand than the official documenta

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-07 Thread panyasan
Very helpful instructions - thanks! Maybe this should be added to the qooxdoo manual at http://manual.qooxdoo.org/current/pages/widget/virtualtree.html Best, Christian -- View this message in context: http://qooxdoo.678.n2.nabble.com/TreeVirtual-attach-objects-to-nodes-tp7586026p7586045.htm

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-06 Thread marcounet
Hi Panyasan, If you use a VirtualTree and create your own tree items that you bind with a delegate, wouldn't you be able to style each item of the tree the way you want ? Look at the last example on this page (the text is in F

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-06 Thread panyasan
As an example, see this web application [1]. The TreeVirtual cannot be replaced without losing the styling that makes it resemble a table (it is, in fact, a table at its core). It would be great if the new Virtual Tree could be styled the same way. [1] http://demo.bibliograph.org/build/#itemView.t

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-05 Thread Martin Wittemann
Hey, > But I'm wondering, is the other widget TreeVirtual going to be marked as > deprecated someday? > Because it's confusing for new users, do we have to use TreeVirtual or > VirtualTree ??? > There is also another Tree widget, I don't know what's the difference > between all these. > This is rea

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-05 Thread marcounet
Hi, Now i'm using the VirtualTree widget rather successfully :-) But I'm wondering, is the other widget TreeVirtual going to be marked as deprecated someday? Because it's confusing for new users, do we have to use TreeVirtual or VirtualTree ??? There is also another Tree widget, I don't know what'

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-04 Thread marcounet
Please ignore my previous message, I found the class in my local copy of the SDK :-) Marc. -- View this message in context: http://qooxdoo.678.n2.nabble.com/TreeVirtual-attach-objects-to-nodes-tp7586026p7586034.html Sent from the qooxdoo mailing list archive at Nabble.com.

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-04 Thread marcounet
I'm trying to follow the example in the demobrowser. I'm in the "Demos/virtual/Tree Columns" example. At the very end of the JS code, the "createItem" function returns a new object of the class "demobrowser.demo.virtual.tree.TreeItem()". But I'm unable to find the source code of this class. How ca

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-04 Thread Mustafa Sak
ße 10 DE-76135 Karlsruhe -Ursprüngliche Nachricht- Von: marcounet [mailto:marcleb...@skynet.be] Gesendet: Montag, 4. August 2014 15:06 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes Hi Mustafa, Thanks for you answer :-) I will hav

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-04 Thread marcounet
Hi Mustafa, Thanks for you answer :-) I will have a look at VirtualTree, I was not aware of this widget. I that a newer implementation of the tree ? Marc -- View this message in context: http://qooxdoo.678.n2.nabble.com/TreeVirtual-attach-objects-to-nodes-tp7586026p7586028.html Sent from the

Re: [qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-04 Thread Mustafa Sak
gust 2014 10:45 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] TreeVirtual: attach objects to nodes Hi Qooxdoo Team :-) I didn't find a way to attach an object (descendant of qx.core.Object) to a tree node. I do the following: var columns = ['Title'

[qooxdoo-devel] TreeVirtual: attach objects to nodes

2014-08-04 Thread marcounet
Hi Qooxdoo Team :-) I didn't find a way to attach an object (descendant of qx.core.Object) to a tree node. I do the following: var columns = ['Title', 'Description']; var tree = new qx.ui.treevirtual.TreeVirtual(columns); var dataModel = tree.getDataModel(); var nodeId = dataModel.addBranch(0,