Hi,
I am trying to get the index of the cell in jqGrid that has been clicked on. I have tried all variations on using index() and get() and parent(), I can't seem to work out how to return the index of the click cell.
I have the following which picks up the doubleclick:
#list is the id of the grid body table.
$(“#list”).dblclick(function(e){
// return the index of the target cell in the table
var index = $(e.target).index(this);
alert(index); // this just returns -1
});
Any ideas how I can get the index of the clicked cell within the grid.
Cheers,
Dave
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top