I want to add an event handler to jqGrid (for the onSelectRow event) but after the grid has already been created on the page i.e. I cant hardcode it into the initial jqGrid definition.
I have tried using setGridParam
to set an event handler for onSelectRow
but that didnt work :(
$('#list').jqGrid('setGridParam', { onSelectRow: function(id){ alert(id); } } );
The jqGrid docs are quite difficult to get what you want out of them and I havent found anything regarding this problem.