The column which you need to hide has the name "subgrid". So to hide it you can use
$("#grid").jqGrid("hideCol", "subgrid");
If you need to implement interface for opening or closing subgrids you can call toggleSubGridRow method directly. For example the following callback will toggle subgrid on double-click on the main row:
ondblClickRow: function (rowid) {
$(this).jqGrid("toggleSubGridRow", rowid);
}
The column which you need to hide has the name
"subgrid"
. So to hide it you can useIf you need to implement interface for opening or closing subgrids you can call toggleSubGridRow method directly. For example the following callback will toggle subgrid on double-click on the main row:
See the corresponding demo here:
UPDATED: If you want to hide additionally the icon from the first column of subgrid you can use the option
and add additional CSS style
See the updated demo:
UPDATED 2: To hide the column with the icon in the subgrid row you can just use
See the next demo: