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
Adding more than two column group headers
24/09/2013
00:51
Avatar
thomas.mondelli
Houston, TX
New Member
Members
Forum Posts: 2
Member Since:
23/09/2013
sp_UserOfflineSmall Offline

I understand that there is a limitation of two column headers in jqgrid, but I was curious if anyone has found a workaround to add more? This has become a critical issue for me to use jqgrid in my application.

Here is the JSON that I am using - the idea is the last item in the array would go across the top, but it is ignored by the current code:

        "groupHeader": [{"startColumnName": "Gross Sales_2","titleText": "06/18/2013","numberOfColumns": "2"},
{"startColumnName": "Gross Sales_4","titleText": "06/19/2013","numberOfColumns": "2"}, {"startColumnName": "Gross Sales_2","titleText": "2013","numberOfColumns": "4"}]

24/09/2013
05:50
Avatar
12seconds
Member
Members
Forum Posts: 6
Member Since:
20/09/2013
sp_UserOfflineSmall Offline

I am pretty sure you are mistaken about limitation of 2 column for group header.
Have a look in jqgrid wiki here > http://www.trirand.com/jqgridw.....038;hellip;..pingheadar

Link is not working very well in this forum....

trirand.com/jqgridwiki/doku.php?id=wiki:groupingheadar

24/09/2013
12:04
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Thanks for the answer.

You can add a link without problems if you select some text and and use the a href tag  (insert/edit link) in the editor's button menu.

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

24/09/2013
23:19
Avatar
thomas.mondelli
Houston, TX
New Member
Members
Forum Posts: 2
Member Since:
23/09/2013
sp_UserOfflineSmall Offline

12seconds said:

I am pretty sure you are mistaken about limitation of 2 column for group header.
Have a look in jqgrid wiki here > http://www.trirand.com/jqgridw;..pingheadar

Link is not working very well in this forum....

trirand.com/jqgridwiki/doku.php?id=wiki:groupingheadar


This example is only showing two levels of column headers - Price and Shipping are on one level and Date, Client, Amount, etc... are a second level. What I need the ability to do is add a third level. So, for example, if I wanted to add a header that logically tied Price and Shipping together, I could create a header that would start on the Amount column and end at the Notes column and would be above the Price and Shipping headers. Hopefully that makes sense?

If that type of functionality is available, I could not make it work.

25/09/2013
13:40
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hi Thomas,

I think it's you who posted the same question on the stackoverflow. I answerd it recently here. See the demo. which displays the following picture:

Image Enlarger

I think the example could be interesting for other users of jqGrid. I think that one can extend the code of jqGrid based on the example to implement the same functionality as the part of standard jqGrid code.

Best regards
Oleg 

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
49 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