Combo in Grid firing onChange event 3 times

I have a combo in a grid column and I have attached an ‘onChange’ event to the Combo. However it appears to fire this event 3 times similar to the ‘onEditCell’ event on the grid itself.

My problem is that I’m trying to alert something in the ‘onChange’ event in certain circumstances. However I am now getting 3 alerts.

Please can you tell me what I’m doing wrong.

Thanks

Purvez

try to use onEditCell in state 2 of the grid instead of onChange of the Combo:

grid.attachEvent(“onEditCell”,function(stage,rId,cIndex){
if(stage ==2 && cIndex==comboIndex){
/your code here/
}
return true;
});

Where comboIndex is the index of combo column.