Tristate in tree with checkbox is not working

I have a webix treeview, where a node has multiple parent node. If i select child node than all the parent node get selected but if i select immediate parent i.e. last parent of a node than none of the parent got seletced. I have used the ThreeState property of treeview still its not working.

Hello,

Could you provide a code snippet that shows the problem?

Thanks for your reply.

My implementation is same as example mentioned in http://docs.webix.com/samples/17_datatree/02_checkbox/02_three_state.html ( 1st Tree ).
In this example Part 2 has child nodes like Page 1, Page 2 but in my implementation Page 1 also had child nodes like Paragraph 1, Paragraph 2.
If i click on Paragraph 1 , then all the parent i.e. Page 1,Part 1, The Shawshank Redemption and Films data gets checked.
And if i click on Page 1 then node of its parents get checked.

Tree Structure is mentioned below.

-Films data
-The Shawshank Redemption
-Page 1
-Part 1
- Paragraph 1
- Paragraph 2

than none of the parent got seletced.

Unfortunately, I can’t represent the issue. Please check the corrected snippet:

http://webix.com/snippet/02c91968

As far as I can see, all marks in checkboxes are right.

Thanks for your reply.
I have done same implantation still it’s not working.
One more thing to add, in the snippet above , Page 1 has 3 parent but in my case it has 4 parent.

Still all works as expected and we cannot discover where the problem is. If you able to represent this issue in our snippet tool/JSFiddle or somewhere else, please share it.