Hi, I’m using prototype and i can’t find proper documentation for ‘setOnEditCellHandler’ function, wich as i understand is the same as ‘onEditCell’ event. I tried using attachEvent(“onEditCell”, function); but it didn’t do anything and firefox error console says that function attachEvent doesn’t exist.
Anyway… The thing is: In my grid, one of the cells is a combo (“coro”), the method setOnEditCellHandler(generateTotal); calls a function that validates the cellInd and stage, and when it is on (cellInd==4 && stage==2) it performs an action… now, the problem is that after i do this, the next time i select a cell, it does the same action, and debugging on firebug i see that even though i’m selecting a different cell, it still enters the if statement because it says it is cellInd 4. Why could this be happening?.