How can I get the selected cell value in JQgrid?
I have looked through examples where you get the selected row id and then get the cell value based on passing the column name to 'getcell' from How to get a jqGrid selected row cells value e.g.
var grid = jQuery('#list');
var sel_id = grid.jqGrid('getGridParam', 'selrow');
var myCellData = grid.jqGrid('getCell', sel_id, 'MyColName');
Is there any way to get the cell value based on the selected cell without having to specify the column name?