{ type: 'checkbox', label: 'summary', listener: function(evt){ this.Tree().option({summary: evt.target.checked}); } }
//define custom aggregate.pq.aggregate.sumEx = function(arr, col, rows) { var sum = 0, di = col.dataIndx; rows.forEach(function(rd) { if (rd.pq_tree_cb) { sum += rd[di] * 1 || 0; } }); return sum;};
check: function() { this.Tree().refreshSummary(true); //private API },