Sorry, but I haven't seen a tree which support multi-selection yet. I was just never thought to be used this way.

Sebastian


Simon Bull schrieb:
Hi All,

There appears to be a bug with multiselection in QxTrees in Qx 0.5.1.  The
problem is in two files:

In QxSelecionManager.setSelectedItem() the call to _deselectAll (on line 475 in
the 0.5.1 source code) call should be guarded inside a check for multiselection,
like this:

  // Deselect all currently selected items
  if (!this.getMultiSelection()) {
        this._deselectAll();
  }


Similarly in QxTreeElement._modifySelected() the call to vManager.deselectAll
(on line 148 in the 0.5.1 source code) needs a more complex condition to take
into account multiselection.  Perhaps something like this:

if ( propOldValue && vManager.getSelectedItem() == this && !(vManager.getMultiSelection()) )
  {
    vManager.deselectAll();
  }


Simon



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to