Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:grouping [2014/07/23 13:22] tony |
wiki:grouping [2017/12/09 16:51] (current) admin |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Grouping is a way to group data by diffrent criteria. jqGrid currently supports one level of grouping. | Grouping is a way to group data by diffrent criteria. jqGrid currently supports one level of grouping. | ||
| - | The simple way to group in jqGrid is to enable grouping with the grid option **grouping:true** and define a field name on which grouping occurs. The name should correspond to the name in colModel | + | The simple way to group in jqGrid is to enable grouping with the grid option **grouping:true** and define a field name on which grouping occurs. The name should correspond to the name in colModel. |
| The definition is done with array //groupField// which is a part of another grid option **groupingView**. | The definition is done with array //groupField// which is a part of another grid option **groupingView**. | ||
| Line 140: | Line 140: | ||
| </code> | </code> | ||
| - | By default this parameter is not defined in colModel when grouping is on. The number_of_digits by default is not defined. | + | By default this parameter is not defined in colModel when grouping is on.\\ |
| + | The number_of_digits by default is not defined.\\ | ||
| This options determines the length of the remaining part after the decimal point. | This options determines the length of the remaining part after the decimal point. | ||