Hi,
I'm rewriting my app to use the brand new data binding and the new selection
handlers. But I can't figure out how to implement a Tree where checkboxes
will be responsible for selecting/deselecting items.
I managed to create the checkboxes in the tree's items. Overriding the
createItem function from IControllerDelegate and passing it throw the Tree
Controller. But I dont know how to change the Selection behavior!!!
First thing I thought was to create a new SelectionManager. Is that right?
Ok, seems right. But I had to create a new Tree class just to change the
SELECTION_MANAGER to the one I created. I couldn't change the default one
after creating an instance of qx.ui.tree.Tree.
Is there another way to change the selection manager without creating a new
class to override SELECTION_MANAGER?
OK, but it's just part of the problem. After looking at
qx.ui.tree.SelectionManager ant its parents (qx.ui.core.selection.*) I still
can't figure it out where and what should I change to achieve what I want.
Looks like the checkbox widget swallows all events (mouse up, mouse down,
etc). Do I need to extend qx.ui.form.Checkbox and change something to be
able to include it in my TreeItem and get its events in the selection
manager?
I'm a little lost here. I would appreciate any help you can give me.
Thanks,
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel