Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 10, 2008 06:03
open dhtmlx forum
To get each cell values on OnClick Event for custom xcell button

Thanks for reply.But now issue is how i would be getting the row selected on OnClick event of custom excell button.Onclick ihow i will get row cells values.Pls respond
Answer posted by Support on Nov 10, 2008 08:27
If you are using custom excell, the row ID can be located as 
  this.cell.parentNode.idd
In case of inline HTML code it may look as

<cell type="ro"><![CDATA[<input type="button" onclick="alert(this.parentNode.parentNode.idd)">]]></cell>