I have the following JQGrid
$(\"#requestTable\").jqGrid({
url: url,
datatype: \'json\',
mtype: \'GET\',
altRows: \'true\',
colNames:
Hi I had different problem. i.e. focusing cell after selecting date from datepicker. I fixed it the from above Answer1, even though this answer was not intended for my problem. Basically, to keep cell focused after selecting date in jQGrid, - fire 'saveCell' event on datepickers onSelect() method as showed in Answer1. - assign saveRow, & saveCol variables in beforeEditCell method.
Thanks to all.
You should be able to use the onSelect() event from the datePicker in combination with the saveRow() from jqGrid. Something like:
$(element).datepicker({
onSelect: function(dateText, inst) {
var $input = inst.input; // the datepicker input
var $row = $input.parents("tr");
$("#requestTable").jqGrid('saveRow',$row.attr("id"), false); // this would probably need some work, I have no experience with jqGrid
});