Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sree on Nov 13, 2008 04:51
open dhtmlx forum
Context Menu Rowid and Columnid

Context Menu Row id and Column id

Problem: how can i get the row id and column id of a particular cell using context menu


thanks in advance
Answer posted by Support on Nov 13, 2008 05:57
There are two way 
a) you can use 
var data = grid.contextID.split("_"); //data = array [row_id,cell_index] 

b) you can use second parameter of onClick event of context menu ( it is equal to the grid.contextID ), beware that you need to have latest build. 
http://dhtmlx.com/docs/news/index.shtml?show=35