PDA

View Full Version : TreePanel CheckCascade style bug



cwesdorp
27 Feb 2012, 8:14 AM
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

sven
27 Feb 2012, 8:27 AM
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

cwesdorp
27 Feb 2012, 8:33 AM
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

sven
27 Feb 2012, 8:37 AM
The change was introduced with
[s5124] Problem with cascading in checkbox tree..

I will add it to the list to things to look at.

cwesdorp
7 Mar 2012, 10:53 PM
Hello Sven,

can you report any progress on this issue or give an expected delivery date? Thanks.


Chris

cwesdorp
1 May 2012, 10:21 PM
Hello Sven, any news on this issue? Should I create a bug thread in Ext GWT Bugs?

sven
2 May 2012, 2:28 AM
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.