When using a subgrid with the following configurations:
$(“#jqGrid”).jqGrid({
subGrid: true,
……
});
Each row can expand a subgrid.
I want to some rows do not expand subgrid.
Ok. It is not enought as explanation, but basically you can use subGridBeforeExpand. As of documentation: The event is raised just before expanding the grid. When set, this event should return true or false. If it returns false the subgrid row is not expanded and the subgrid is not opened.