Adding changes to fix the issue for select in jqGrid.