0

I'm looking at the jqGrid subgrid in the jsonReader and I'm wondering if it's possible to send back the each subgrid's data in the json for the master grid data.

I'd like to only make one ajax call to retrieve all of the data for both the master and subgrids, forgoing the need for a subgridurl.

Is this possible with the default jsonReader?

Paul
  • 3,725
  • 12
  • 50
  • 86

1 Answers1

1

Subgrids has no support of loading whole data at once. In the answer I described two approaches how you can construct a workaround to implement what you need.

One more alternative would be to use some other feature of jqGrid like TreeGrid or Grouping instead of subgrids. See the answer and the next one for details.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798
  • You're right, `TreeGrid` is really what I need to use. Thanks for breaking my tunnel vision. – Paul Mar 28 '12 at 14:14