Title: treegrid : summary by group (or node) Post by: korenanzo on February 22, 2016, 10:11:16 AM Hi,
Is it possible to sum rows a nd show the result in the parent node? I mean, if we take this as example, (http://www.jeasyui.com/documentation/images/treegrid.png) in Wyoming, 2009/1st qrt. I'd like to have "6000" and so on. If it is possible,then should I prepare the summary data or there is an automagic summarizer? thanks, RIk Title: Re: treegrid : summary by group (or node) Post by: jarry on February 22, 2016, 05:41:44 PM You can prepare the summary data on your server side. Another way to solve this issue is to use the 'loadFilter' function to sum the data before loading it, or update these summary rows after loaded data successfully.
Code: $('#tg').treegrid({ Title: Re: treegrid : summary by group (or node) Post by: korenanzo on February 23, 2016, 02:11:09 AM thanks,
RIc |