Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Multi-level grouping/aggregation
06/05/2011
19:12
Avatar
Jack B.
Chicago
Member
Members
Forum Posts: 7
Member Since:
06/05/2011
sp_UserOfflineSmall Offline

I love jqGrid, and my team is hoping to make it a major new part of our large organization. However, we absolutely need multi-level grouping.

Is multi-level grouping built into jqGrid or is it a planned feature for the near future?

If not, does someone have an idea of creating a work-around without having to modify the plug-in directly?

Thanks a lot!

09/05/2011
17:42
Avatar
evilamarant7x
Member
Members
Forum Posts: 8
Member Since:
14/03/2011
sp_UserOfflineSmall Offline

Is something like this what you're looking for?

http://www.ok-soft-gmbh.com/jq.....st2New.htm

If so, if you have the most recent version of jqGrid, all you have to do is add 'multipleGroup: true' to the prmSearch section in the navgrid method. So something like this:

jQuery("#list").jqGrid('navGrid','#pager',{edit:false,add:false,del:false,search:true,refresh:true},{},{},{},{multipleSearch:true,multipleGroup:true,overlay:false, recreateFilter:true});

The server script that processes the request will have to be able to work with the nested filter information that it gets sent though.

09/05/2011
22:47
Avatar
Jack B.
Chicago
Member
Members
Forum Posts: 7
Member Since:
06/05/2011
sp_UserOfflineSmall Offline

Thanks for the reply.

However, I'll be more specific.  Please see this question newly posted on Stack Overflow.

10/05/2011
18:20
Avatar
evilamarant7x
Member
Members
Forum Posts: 8
Member Since:
14/03/2011
sp_UserOfflineSmall Offline

Ah. Wrong type of grouping. My apologies.

10/05/2011
21:39
Avatar
Jack B.
Chicago
Member
Members
Forum Posts: 7
Member Since:
06/05/2011
sp_UserOfflineSmall Offline

But do you have any ideas on how to implement this kind of grouping/aggregation?

I'm thinking that I may have to perform the grouping on the server and send the grouped data and "expand" links to the client.  When the client clicks these "expand" links, the server regroups accordingly.  The problem would be keeping track of all of the "expand" links.

It certainly wouldn't be an ideal solution.

17/05/2011
17:50
Avatar
Jack B.
Chicago
Member
Members
Forum Posts: 7
Member Since:
06/05/2011
sp_UserOfflineSmall Offline

Would the jqGrid developers be interested in doing this for pay?

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
43 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information