Need to carry the check state from tree jsp to

I am having a tree in the left side of my page and a calender in the right side of my page. After expanding the tree on the left i am not able to get the state in the tree which is generated by the scheduler.js for creating edit window in calender jsp. By using the methods saveOpenStates and loadOpenStates i am able to bring the expanded state of the tree inside the calender jsp but i am not getting the checked sign in the check box.

You can use treeA.getAllChecked to get list of all checked items in the tree, and later use
treeB.setCheck to check necessary items in target tree