Can the width of the text box in Jqgrid default search dialog be increased?
Check out the image:
Updated Code for the search functionality:
jQuery("#subscriptions").jqGrid(
'navGrid',
'#pager',
{ del: false, add: false, edit: false },
{},
{},
{},
{
multipleSearch: true,
closeAfterSearch: true,
beforeShowSearch: function ($form) {
$(".searchFilter table td .input-elm").attr('style', 'width:400px');
$('#searchmodfbox_subscriptions').width(750);
return true;
},
afterRedraw: function ($form) {
$(".searchFilter table td .input-elm").attr('style', 'width:400px');
return true;
}
});
The grid is set to loadonce option as true, enabling local searches without making server calls.