FrozenDice <[EMAIL PROTECTED]> writes:

> So I like the TreeFullControl Example #2 with the checkboxes, it's
> almost what I need.  I want it to only have checkboxes on the lowest
> level.  What I mean is there would only be checkboxes on leaves, and
> anything with children in it wouldn't have a checkbox.
>
> This seems like it should be simple enough to do but I'm new to
> qooxdoo so I haven't had much luck.
>
> Ideas?  Has anyone else done this already?

With TreeFullControl, you control, for each node, what widgets are
displayed with that node.  It's a matter of how you define the
TreeRowStructure object for that row.  Note in the example you cite, the
stuff() function always inserts a checkbox.  To accomplish what you
want, you need to either not insert the checkbox i nodes that aren't at
the bottom level, or if you need to have dynamic control over it, add
the checkbox but hide it and only unhide it when you discover a node has
no children, or something like that.

Derrell


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to