With the code below, it displays the cell value that was last selected. How do I display the cell value of the row I just clicked on?
jQuery('#grid').click( function() {
var grid = jQuery('#grid);
var sel_id = grid.jqGrid('getGridParam', 'selrow');
var myCellData = grid.jqGrid('getCell', sel_id, 'source_id');
$('#selrow').html("Source ID selected:" + myCellData);
});