jqGrid trigger “Loading…” overlay

If you are searching for something like DisplayLoadingMessage() function. It does not exist in jqGrid. You can only set the loadui option of jqGrid to enable (default), disable or block. I personally prefer block. (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:options). But I think it is not what you wanted. The only thing which you can do, if you like … Read more

Using bootstrap select2 with JqGrid form

I didn’t known select2 plugin before. I tried it and can’t found any problems. I suppose that you have problems with the width just because use used too large parameter of width function in $(element).width(260).select2();. The demos: one without Bootstrap and another one with including of Bootstrap 3.0.0 works without problems. The select looks like … Read more

jqgrid subgrids from a single nested json

I made the demo which demonstrate how to do this: The demo are based on the idea described here and on the fact that internal data option saves the input data in unmodified form. So you don’t need to create some hidden columns to save additional information associated with the row. See the answer and … Read more

Possible to make jqGrid Search Box Stay on Page?

The simplest way to do what you need is var grid = $(“#list”), prmSearch = {multipleSearch:true,overlay:false}; grid.jqGrid({ // all jqGrid parameters }); // next line is optional grid.jqGrid(‘navGrid’,’#pager’, {add:false,edit:false,del:false,search:true,refresh:true}, {},{},{},prmSearch); // create the searching dialog grid.searchGrid(prmSearch); // find the div which contain the searching dialog var searchDialog = $(“#fbox_”+grid[0].id); // make the searching dialog non-popup … Read more

jqGrid DatePicker filtering without hitting Enter key

You can try with dataInit: function (elem) { $(elem).datepicker({ changeYear: true, changeMonth: true, showButtonPanel: true, onSelect: function() { if (this.id.substr(0, 3) === “gs_”) { // in case of searching toolbar setTimeout(function(){ myGrid[0].triggerToolbar(); }, 50); } else { // refresh the filter in case of // searching dialog $(this).trigger(“change”); } } }); } UPDATED: Starting with … Read more