简体   繁体   English

Kendo UI TreeList - 子聚合隐藏

[英]Kendo UI TreeList - Child Aggregate Hide

In my application, need to show level based records in report.在我的应用程序中,需要在报告中显示基于级别的记录。 i am using Kendo UI Treelist with aggregate.我正在使用带有聚合的 Kendo UI Treelist。 Data's are showing well and grand total are showing in all level rows.数据显示良好,总计显示在所有级别的行中。 But i need to show grand total in parent (Top) level node only.但我只需要在父(顶级)级别节点中显示总计。 It's possible to show aggregate in parent(Top) node only.可以仅在父(顶部)节点中显示聚合。 Any Property available?有房源吗? or any alter native?或任何其他本地人?

Sample URL : https://dojo.telerik.com/AVeNuluP示例网址: https : //dojo.telerik.com/AVeNuluP

Thank you in advance.先感谢您。

in Kendo Angular Tree list, This feature is not available.在 Kendo Angular Tree 列表中,此功能不可用。 Please refer below link, it is created by telerik team to develop this feature depends on business vote,请参考以下链接,由 Telerik 团队创建以开发此功能取决于商业投票,

https://feedback.telerik.com/kendo-angular-ui/1511260-footer-template-only-for-some-nodes https://feedback.telerik.com/kendo-angular-ui/1511260-footer-template-only-for-some-nodes

In JQuery Kendo Tree list, We achieved this by below code in databound event.在 JQuery Kendo Tree 列表中,我们通过以下数据绑定事件中的代码实现了这一点。

$('#grid3 .k-grid-content tbody tr.divfooterrow').remove();
$('#grid3 .k-grid-content tbody').append('<tr class="divfooterrow" data-parentid="null" style="display: table-row;"><td role="gridcell" class="locationName divselected"><span class="k-icon k-i-none"></span></td><td role="gridcell" class="txtalgrit toBeActionedCount">' + qrVMSummary.totalToBeActionedCount.toLocaleString() + '</td><td role="gridcell" class="txtalgrit">' + qrVMSummary.totalToBeActionedPayout.toLocaleString() + '</td><td role="gridcell" class="txtalgrit"> ' + qrVMSummary.totalActionedCount.toLocaleString() + '</td><td role="gridcell" class="txtalgrit">' + qrVMSummary.totalActionedPayout.toLocaleString() + '</td><td role="gridcell" class="colId" style="display: none;"></td><td role="gridcell" class="colParentId" style="display: none;"></td><td role="gridcell" class="colLocationCode" style="display: none;"></td></tr>');

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Kendo-网格-包含复杂对象的聚合 - Kendo - Grid - Aggregate with Complex Objects Kendo-网格-汇总页脚列对齐 - Kendo - Grid - Aggregate Footer Column Alignment 通过列值在页脚模板中的Kendo-grid自定义聚合 - Kendo-grid custom aggregate in footer template by columns values 子聚合实体的域驱动设计存储库 - Domain Driven Design repository for child aggregate entity Angular UI Grid-如何自定义聚合行行为 - Angular UI Grid - How to customize aggregate rows behavior 3个表的MySQL连接-从2个子表中获取合计值 - MySQL join of 3 tables - get aggregate value from 2 child tables 如何通过从 UI 中选择的变量反应性地聚合数据? - How to aggregate data reactively with shiny by the variables you selected from UI? DDD 关于创建和升级具有子实体的聚合根及其持久性的问题 - DDD Questions about creation and upgrade of aggregate root with child entitities and its persistence SSRS-汇总的汇总 - SSRS - Aggregate of an Aggregate 为什么在使用 $project 聚合 function 时重命名 mongodb 中的子对象数组中的字段返回数组? - Why does renaming a field in a child array of objects in mongodb returning an array when using $project in aggregate function?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM