Forum
14:23
24/04/2014
Hello,
I try to implement DrillDown functionality for my Pivot table.
Therefore i want to use a custom formatter which creates a url.
xDimension: [{formatter: urlFmatter, dataName: 'Config.Name'},
{formatter: urlFmatter, dataName: 'Config.Value'}]
function urlFmatter(cellvalue, options, rowObject)
{
//create drilldown url
return url
}
Unfortunately the urlFmatter function is not fired for the first dimension(Config.Name), only for Config.Value.
Is this a bug or is there an other way to change the Grouping Text dynamic?
Sincerely, Stapelchip
10:13
Moderators
30/10/2007
Hello,
This is a expected behavior. The reason for this is the new option in grouping introduced with the pivot.
The option is named hideFirstGroupCol and it is set to true when pivot is enabled.
Partially I have fixed this enabling to overwrite group options in pivot. This can be achieved when you use groupingView in grid options like this.
$("#pivot").jqGrid('jqPivot', 'url',
{…}, //pivot options
{groupingView:{ hideFirstGroupCol : false}, // grid options
…
);
Note that this is only in the fixed code in git hub.
I will think in the future how to fix this.
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.
16:16
24/04/2014
I tried to make a workaround for this problem by sorting my json response serverside.
Than i found out that "hidden:true" works only for the very last dimension.
Do you have any suggestions to solve my problem?
Edit: There is an option "isGroupField". With this option enabled i can hide other dimension 🙂
10:12
Moderators
30/10/2007
Hello,
You can try to set groupColumnShow in the same gridViewOptions to false. (this is not tested from)
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:
56 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