Header grouping

QuestionsHeader grouping
Juan asked 12 years ago

Is there any way to do header grouping?
For ie like http://www.trirand.com/blog/phpjqgrid/examples/grouping/grphead1/default.php

I have searched this forum and I haven't seen any topics about this.

Thanks in advanced.

4 Answers
Abu Ghufran answered 12 years ago

Hi,

This feature is in todos & will be released for premium customers soon.
Thanks for informing.

Juan answered 12 years ago

Thanks for your prompt response.

Do you have any idea when this will be released? I am about to start developing a project, and I would like to buy it if I can count on it in one month or so, otherwise I have to take other solution.

Thanks again,

Juan

Agust answered 12 years ago

I found this page:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki%3agroupingheadar

Add the following javascript code, e.g.:

var opts = {
'loadComplete': function () {
var grid = $("#list1");

grid.jqGrid('destroyGroupHeader', false);
grid.jqGrid('setGroupHeaders', {
useColSpanStyle: true,
groupHeaders:[
{startColumnName: 'col_name_1', numberOfColumns: 3, titleText: 'Group Header 1'},
{startColumnName: 'col_name_4', numberOfColumns: 6, titleText: 'Group Header 2'}
]});
}};

Abu Ghufran answered 12 years ago

Hello,

The grouped header is now available in latest build.
http://www.phpgrid.org/updates/grouping-headers-in-php-grid/

Regards

Your Answer

20 + 11 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?