EasyUI Forum
May 04, 2024, 07:38:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How To group rows in datagrid  (Read 9247 times)
chitgoks
Newbie
*
Posts: 4


View Profile
« 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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
Logged
chitgoks
Newbie
*
Posts: 4


View Profile
« Reply #2 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
« Last Edit: March 21, 2013, 04:17:51 AM by chitgoks » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!