Note that there are some explanatory texts on larger screens.

plurals
  1. POjqGrid subGrid stops opening after scroll
    text
    copied!<p>I have a grid (version 4.1.1) using a subGrid. I'm using loadonce: true and scroll: 1. When the grid first loads, I can open subGrids with no problem, <strong>until</strong> I scroll the main grid down to the point where it loads more data. After that, no subgrid will open or close. If I click on the plus icon, I see the "Loading...", but nothing happens. I can't even close the subGrids that were previously opened.</p> <p>Here is my grid definition:</p> <pre><code>$("#grid_sites").jqGrid({ url:'getgridxmlsites.php', postData: {detailid: function() {return $('#hdnDetailId').val(); }}, datatype: 'xml', height: 260, width: 832, shrinkToFit: false, caption:'', colNames :['studydetailid', 'Site', 'Name', 'Status', 'Location'], colModel :[ {name:'detailid', index:'detailid', width:0, hidden: true }, {name:'sitenumber', index:'sitenumber', width:60, align:'right'}, {name:'name', index:'name', width:230}, {name:'status', index:'status', width:110, align:'center'}, {name:'location', index:'location', width:74} ], pager:'pager_sites', scroll: 1, viewrecords:true, sortable:true, sortname: 'sitenumber', autowidth: true, pgbuttons: false, loadonce: true, // gridview: true, // Cannot be used when using subGrid. onSelectRow: function(id){ gridRowSelect(id) }, subGrid: true, subGridUrl: 'getgridxmldatabysite.php', subgridtype: 'xml', subGridModel: [{ name: ['Owner', 'Phone', 'Status'], width: [120, 100, 100], align: ['left', 'left', 'left'], params: ['detailid'] }], subGridOptions: { reloadOnExpand : false } }); </code></pre> <p>I hope you can help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload