Pending Review
Last Updated: 17 Sep 2019 14:23 by ADMIN
Quentin
Created on: 10 Sep 2019 22:42
Category: TreeList
Type: Feature Request
2
TreeList control doesn't allow for fixed aggregate row at the bottom of the grid.

The TreeList control doesn't allow for a fixed row of aggregates at the bottom of the control. I would like to have the option to enable a row of "Grand Total" aggregates that are aggregates of the whole data set. This row would be fixed at the bottom of the control and wouldn't be scrollable. This is functionality that the Kendo Grid has that isn't available in the Kendo TreeList. 

https://www.telerik.com/forums/treelist-scroll-and-footer-disappears

1 comment
ADMIN
Boyan Dimitrov
Posted on: 17 Sep 2019 14:23
Hello,

Indeed there is no such functionality built-in with the Kendo UI TreeList widget. One possible solution would be to add manually (in the dataBound event for example) a tfoot element (just like in the Kendo UI Grid widget) and render the total aggregate as html. 

The aggregate values  can be accessed using the https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/aggregate#aggregates method of the Kendo UI DataSource. 

As I mentioned the html rendering of the Kendo UI Grid https://demos.telerik.com/kendo-ui/grid/aggregates can be used as a base point to know what classes and elements to be used. 

Regards,
Boyan Dimitrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.