Jqgrid is empty, does not load json data from main grid
问题 My subgrid only shows the column headers but not not load the json data from the main grid. The columns are empty. I followed the tutorial on JQuery Grid-SubGrid for Parent-Child relation but it does not work. This is my javascript code: jQuery().ready(function () { var grid = jQuery("#shipment_grid"); var mainGridPrefix = "s_"; grid.jqGrid({ url: '${pageContext.request.contextPath}/getTruckShipmentJSONAction?truckId=' + <c:out value="${truckId}" />, datatype: "json", mtype: 'GET', loadonce: