Problem while setting only parent checked

Hi

I am facing problem while setting check for a tree,when i use setCheck function to set check a parent node , it is setting checked for its child item also,how can i avoid this problem.I have to check only parent item.

Thanks
Seenu

Hi,

Probably you are using 3-state checkboxes when checkboxes of child items and checkboxes of parent items are dependent on each other.

Make sure that you are not using enableThreeStateCheckboxes