resizeStop: function (newwidth, index) {
var selectedRowId = jQuery("#jqgridElementId").getGridParam('selrow');
if(selectedRowId) {
//resize combobox proportionate to column size
var selectElement = $('[id="' + selectedRowId + '_' + (index-1) + '"][role="select"]');
if(selectElement.length > 0){
$(selectElement).width(newwidth);
}
}
},
onSelectRow: function(id){
if(id){
//resize combobox proportionate to column size
var rowSelectElements = $('[id^="' + id + '_"][role="select"]');
if(rowSelectElements.length > 0) {
$(rowSelectElements).each(function(index, element){
var name = $(element).attr('name');
var columnElement = $('#jqgridElementId_' + name);
if(columnElement.length > 0) {
var columnWidth = $(columnElement).width();
$(element).width(columnWidth);
}
});
}
}
}