Forum
16:00
10/08/2009
Hi Tony!
It seems that current code from grid.base.js allow grouping of XML data only if repeatitems:false. See http://www.ok-soft-gmbh.com/jq.....Log38_.htm as a demo. If I change the lines 1109 and 1110:
if(ts.p.grouping && F) {
$(ts).jqGrid('groupingRender',grpdata,F.length+gi+si+ni);
to
if(ts.p.grouping) {
$(ts).jqGrid('groupingRender',grpdata,(F? F.length: ts.p.colModel.length)+gi+si+ni);
It works: see http://www.ok-soft-gmbh.com/jq.....38_new.htm. I don't test the changes in case of having some hidden columns or some other non standard situations.
It seems that the same problem exist for JSON data (see lines 1272-1273).
Best regards
Oleg
17:15
Moderators
30/10/2007
Oleg,
Thanks again. The real fix is:
if(ts.p.grouping) {
$(ts).jqGrid('groupingRender',grpdata,ts.p.colModel.length);
...
Regards
Tony
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.
21:23
10/08/2009
Hi Tony!
After downloading releasede version of jqGrid 3.8 I had the same problem which i described before. After debugging I could see that the jqGrid 3.8 not what you write befor or what I suggested. It has a combination of one old line and one new line:
if(ts.p.grouping && F) {
$(ts).jqGrid('groupingRender',grpdata,ts.p.colModel.length);
One should remofe '&& F' from the 'if' (line 1272) to fix the problem.
Best regards
Oleg
23:41
Moderators
30/10/2007
Oleg,
Thanks again. Not sure why this happen, because I'm sure I have corrected this in a way that I have write it in my previous post
Instead the problem is Fixed. We will maybe realease 3.8.1 soon.
Thank you.
Tony
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.
00:07
10/08/2009
Hello Tony,
you are right in http://github.com/tonytomov/jq.....3 one can see that you changed the code exactly like you wrote in the thread before. At the end it's not important how some error come. More important to find the more errors as possible and fix there.
A release of 3.8.1 soon after collecting some feedbacks is a good idea.
Best regards
Oleg
P.S. In the next weeks I will be not so active on the forum because of I should bring one project to the final end to have money for me and my family.
09:25
Moderators
30/10/2007
Oleg,
The last comment in your last post is the most important think
Kind 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.
Most Users Ever Online: 715
Currently Online:
33 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66