Re: [qooxdoo-devel] Custom tree data binding

2015-01-09 Thread Kristian Ask
I found out how to use the delegate... only a demo I'm after. Regards, Kristian On 9 January 2015 at 10:46, Kristian Ask wrote: > Thanks Daniel, > > The problem is that there is no name for the node... and that I'm a > beginner with qooxdoo! :) > > How do I use the delegate? > > What I really w

Re: [qooxdoo-devel] Custom tree data binding

2015-01-09 Thread Kristian Ask
Thanks Daniel, The problem is that there is no name for the node... and that I'm a beginner with qooxdoo! :) How do I use the delegate? What I really wanted to do is a async tree load. Is there an example of that in the demos? Regards, Kristian On 9 January 2015 at 09:54, Daniel Wagner wrote:

Re: [qooxdoo-devel] Custom tree data binding

2015-01-09 Thread Daniel Wagner
There's probably some way to get the tree controller to use an existing root item, but I don't know how. I think the easiest solution would be to simply add the missing "name" property to the JSON data before the tree is created. You can use the JSON store's delegate to do so: http://demo.qooxdoo

[qooxdoo-devel] Custom tree data binding

2015-01-08 Thread Asken
In the tree demo at http://demo.qooxdoo.org/current/demobrowser/#data~JsonToTree.html the data looks like: { "name": "root", "kids": [ { "name": "1", "kids": [ { "name": "1.1" }, {