是否可以将jqGrid子网格设置为footerrow。我有一个mainGrid包含许多行,每行都有一个子网格。 或者我必须使用Master-Details方式执行此操作,如here ("Advanced" -> "Master Detail")
网格应如下所示:
| Col1 | Col2 | Col3 _______|__________|___________|___________________________ - | value1 | value 2 | 10 |__________|___________|___________________________ | Subgrid col1 | Subgrid col2 | Subcol3 |__________________|__________________|___________ | subgridvalue1 | subgridvalue2 | 15 |__________________|__________________|___________ |another subridval1|another subridval2| 5 |__________________|__________________|___________ | | Totals: | 20 _______|__________________|__________________|___________ + |oter value|oter value2| 12 _______|__________|___________|___________________________ footer:| | Totals: | 22
我希望你能理解我的意思。