Last Updated: 30 Mar 2020 11:32 by Martin
Created by: Martin
Comments: 2
Category: TreeList
Type: Bug Report

Dear support,

Your documentation clearly states that there is an option to export all pages:

Exporting All Data

By default, the Telerik UI TreeList for ASP.NET MVC exports only the current page of data. To export all pages, set the AllPages option to true.

@(Html.Kendo().TreeList<Kendo.Mvc.Examples.Models.TreeList.EmployeeDirectoryModel>() .Name("treelist") .Toolbar(tools => tools.Excel()) .Excel(excel => excel.AllPages(true)) .DataSource(dataSource => dataSource .Read(read => read.Action("All", "EmployeeDirectory")) ) )


However, when I try this, AllPages gives a compiler error:

Severity Code Description Project File Line Suppression State
Error CS1061 'TreeListExcelSettingsBuilder<dynamic>' does not contain a definition for 'AllPages' and no accessible extension method 'AllPages' accepting a first argument of type 'TreeListExcelSettingsBuilder<dynamic>' could be found (are you missing a using directive or an assembly reference?) StarPMWeb C:\TFS2015\StarPMWeb\StarPMWeb.root\MAIN\Enhancements\WIPProvisions_MR\StarPMWeb\Areas\WIPPROVISIONS\Views\ParentChildPeriod\_RenderParentChildEditPeriodGrid.cshtml 706 Active

Why is this happening? Is your documentation just wrong?

I am using version 2020.1.114

If this AllPages option is not currently implemented, can you please add this to the roadmap? It seems to be a strange omission.


Last Updated: 06 Apr 2020 07:57 by ADMIN
Created by: Martin
Comments: 1
Category: TreeList
Type: Feature Request

In a Grid, you can include aggregates from other columns in a footer template. Please add this feature to TreeList.

Also, other useful features would be:

1. Enable or hide footers for expanded nodes. Currently, if there are any footer templates defined, then a footer row is rendered for each expanded node. Please can we have some control over which of these footer rows are rendered. For example, having them rendered only at the top level.

2. Provide some means of controlling whether or not to include child rows' values in the aggregates.

For example, I currently have a TreeList where some values are already the totalled across any child rows - this totalisation is done by our business layer. However, we want to include a Grand total in the footer, This Grand Total needs to be the total values summed on the top-level rows ONLY and not their children. I am having to write custom code to do this.