Problem: jqGrid with subgirds. I want to disable the expand/collapse functionality for some rows of the main grid.
Add this to the gridConfig
afterInsertRow: function(rowid, aData, rowelem) { // Remove the subgrid plus button except for rows that have exceptions if (CONDITION) { $('#' + rowid).children("td.sgcollapsed").unbind().html(""); } },