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