Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dan on Jul 30, 2008 03:22
open dhtmlx forum
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?
Answer posted by Support on Jul 30, 2008 05:30
grid.attachEvent("onCheckbox",function(id,ind){
    alert(this.cells(id,1).getValue());   // alert value of second column in same row
    return true;
})