27 Feb 2012 8:14 AM #1
TreePanel CheckCascade style bug
We found an issue in the TreePanel selection behavior. The behavior is different from previous releases and is shown when the check cascade style is set to CHILDREN. When child nodes are checked and the parent is collapsed the child nodes loose the checked property. This behavior can also be seen in the TreePanel example on http://www.sencha.com/examples/#checkboxtree (currently version 2.2.5)
* Open the function
* Set cascade behavior to CHILDREN
* Expand some nodes e.g. Beethoven/Sonatas
* Check box items
* Collapse sonatas or Beethoven
* Expand the node you just collapsed.
The nodes which where checked are now unchecked.
Can you fix this so that the child nodes are kept checked?
27 Feb 2012 8:27 AM #2
The problem is that the parent is not checked and this gets bubbled down to the children. I do not see an easy way to fix this without introducing a braking change
27 Feb 2012 8:33 AM #3
Yes, i noticed that when looking into to code. However, the thing is we (finally) upgrade, from 2.2.1, to 2.2.5 which introduced this bug. I just did check the old version again and there collapsing/expanding parent nodes is not a problem when child nodes are checked.
27 Feb 2012 8:37 AM #4
The change was introduced with[s5124] Problem with cascading in checkbox tree.
I will add it to the list to things to look at.
7 Mar 2012 10:53 PM #5
can you report any progress on this issue or give an expected delivery date? Thanks.
1 May 2012 10:21 PM #6
Hello Sven, any news on this issue? Should I create a bug thread in Ext GWT Bugs?
2 May 2012 2:28 AM #7
I moved it there now. There is no progess yet. If this is an high priority item, feel free to open a real support ticket in your ticket system.