Forum
20:43
04/11/2009
Hi Tony,
Previously you stated a plan to restructure the tree grid code to fix the jumping:
/blog/?page_id=393/help/enter-a-value-in-celledit-mode-resetspushes-page-to-top/
I was wondering if while you're restructuring you'd give consideration to an extra enhancement:
I would like to see the tree grid have total sum rows (a userdata footer row) for each tree node when the tree node is expanded. When the node is collapsed, I would like that sum total row to be at the top... example ->
Expanded Mode:
> household budget
item1 | 2.00 | 4.00 | 3.00 |
item2 | 1.00 | 5.00 | 3.00 |
Totals | 3.00 | 9.00 | 6.00 |
> lunch budget
item1 | 1.00 | 1.00 | 1.00 |
item2 | 1.00 | 5.00 | 3.00 |
Totals | 2.00 | 6.00 | 4.00 |
Collapsed Mode:
> household budget | 3.00 | 9.00 | 6.00 |
> lunch budget | 2.00 | 6.00 | 4.00 |
I could probably wrangle some code to make this work, but I thought I pitch it out there to see if you think it's worth including as a feature.
thanks,
tim
16:28
Moderators
30/10/2007
Hello,
You can achieve this placing the sums in the root node.
Best Regsrds
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.
Most Users Ever Online: 715
Currently Online:
67 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