Hybrid View
-
27 Feb 2012 8:14 AM #1
TreePanel CheckCascade style bug
TreePanel CheckCascade style bug
Hi,
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?
Regards,
Chris
-
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.
Chris
-
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
Hello Sven,
can you report any progress on this issue or give an expected delivery date? Thanks.
Chris
-
1 May 2012 10:21 PM #6
Hello Sven, any news on this issue? Should I create a bug thread in Ext GWT Bugs?
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote