get value of cell based on row event.

column 1 | column 2

-------------------------------



let’s say column 1 has a checkbox.



when the user clicks on the checkbox, I want the value of the row’s column 2.



how would I implement this?

grid.attachEvent(“onCheckbox”,function(id,ind){
    alert(this.cells(id,1).getValue());   // alert value of second column in same row
    return true;
})