When I first encountered this problem, there was no solution. Not even in the documentation of sample list of JEasyUI‘s portal.
Look for the file datagrid-groupview.js and make sure you include that or else grouping rows won’t work in the data grid.
Retrieve your JSON data as is and simply assign the field that you want as basis for grouping the rows and changing the view’s value to groupview.
<span style="color: #0000ff;"><strong>view: groupview,</strong></span>
<strong><span style="color: #0000ff;">groupField: 'mycolumn</span>',</strong>
That’s it! Easy as pie!