fires before an item's checkbox is checked/unchecked
myTreeView.attachEvent("onCheck", function(id, false){ // your code here });