fires when you check an item in tree and treetable
some.attachEvent("onItemCheck", function(){ //... some code here ... });