regarding onchange in treegrid combo

Hi

We want a combo to be displayed in simple grid.For this we used column type as ‘co’.But how to implement onchange facility for this combo.Please let us know as soon as possible.



thanks & regards,

swapna j

There is no special event, but grid has global onEditCell event, which can be used for the same goal
    grid.attachEvent(“onEditCell”,function(stage,id,ind,old_value,new_value){
       if (stage == 2 && ind == index_of_necessary_column && old_value!=new_value ){
          //value of combo changed, any custom code can be called
       }
       return true;
    });