How To Group Rows In JEasyUI DataGrid

When I first encountered this problem, there was no solution. Not even in the documentation of sample list of JEasyUI‘s portal.

However, I after I posted a topic in their forum to include it in a future release or so, probably after a day or two, they immediately created a Javascript library to do just that.


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.

That’s it! Easy as pie!

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *