Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
not exact grouping / grouping by intervals of values #452
after writing the answer I examined more exact the possibilities extending of jqGrid grouping so that not only exact values can be used to build groups. I think that I found very simple and flexible enough way which
The results of the suggested modifications one can see on the demo which displays the results like the following
One can see that the grouping on the first level will be done in case-insensitive way and that the values will be displayed in low case in the grouping header.
One can see that the grouping on the second level will be done by intervals of values (by year and month). The grouping header display also no day of the grouping element.
I tried to make the changes to make full compatibility with existing grids.
I hope that such changes will be helpfully for other users of jqGrid.