EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: chitgoks on March 18, 2013, 07:10:10 PM



Title: How To group rows in datagrid
Post by: chitgoks on March 18, 2013, 07:10:10 PM
is this possible in JEasyUI's datagrid? i saw some sample of subgrid but the demo code involves 2 separate url queries

i havent seen any samples in datagrid either so i guess this feature is not yet supported. however, has anyone managed to do a workaround?

would like to group rows based on a certain column if they are the same


Title: Re: How To group rows in datagrid
Post by: stworthy on March 19, 2013, 06:54:36 PM
Here is the example that shows how to use group view.
http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=Group%20Rows%20in%20DataGrid


Title: Re: How To group rows in datagrid
Post by: chitgoks on March 21, 2013, 04:04:12 AM
@stworthy thank you very much! i thought this feature did not yet exist

just one thing. the group row header is aligned center by default

what's the attribute to align this to left or right? thank you