jqGrid Subgrid with “local” Data
I'm trying to get my subgrid to work with local data. However, when I click expand, I just get a Loading box like the grid is attempting to pull the data from somewhere. I'm assuming I don't need a subGridUrl since the master grid's datatype is datatype:'local' . Is there anything else I should be doing? There are no direct way to define subgrid with local data, but you can relatively easy implement the same behavior using subGridRowExpanded ( Subgrid as Grid ). What one need to do is just to get from some you internal structures the data for the subgrid by the rowid of the grid. For example