fires when the row is hiding
mygrid.attachEvent("onColumnCollapse",function(id,state){ //your code here })