Unplanned
Last Updated: 20 May 2024 12:30 by Ed
Created by: Ed
Comments: 0
Category: TreeList
Type: Feature Request
1
Missing AdditionalViewData Method for the TreeList
Unplanned
Last Updated: 16 Feb 2024 10:42 by Saurabh

### Bug report

When server-side localization is used (the culture is different than the default one ("en-US")), all columns are filterable, even when the Filterable() configuration is disabled.

### Reproduction of the problem

1) Create a filterable TreeList and disable the filtering of a specified column.

2) Set the server-side culture to "es-ES".

//Web.config

<system.web>
    <globalization uiCulture="es-ES" culture="es-ES"></globalization>
</system.web>

//View.cshtml
@(Html.Kendo().TreeList<UserViewModel>()
        .Name("treelist")
        .Columns(columns => {
            columns.Add().Field(p => p.id).Filterable(false);
            columns.Add().Field(p => p.Name);
            ...
        })
	.Filterable(true)
	...
)

3) The "id" column is filterable even though the filtering is disabled:

### Expected/desired behavior

The filtering per column must be configurable irrespective of whether localization is used or not.

### Workaround

After the TreeList is initialized, call the setOptions() method and disable the filtering of the respective columns:

<script>
    $(document).ready(function () {
        var treelist = $("#treelist").getKendoTreeList();
        if (treelist) {
            var colOptions = treelist.columns;
            colOptions[0].filterable = false;
            treelist.setOptions({ columns: colOptions });
        }
    })
</script>

### Environment

* **Telerik UI for ASP.NET MVC/Core version: 2024.1.130
* **jQuery version: 3.7.0
* **Browser: [all]

Completed
Last Updated: 25 May 2022 07:13 by ADMIN
Release 2022.R1
Created by: Sean
Comments: 0
Category: TreeList
Type: Bug Report
1

Bug report

Regression introduced in R3 2021 SP2.

Reproduction of the problem

Dojo example: https://dojo.telerik.com/IKIhazAm

  1. Open the browser devtools console.
  2. Reorder the columns of the TreeList

Current behavior

A js exception is thrown:

Uncaught TypeError: Cannot read properties of undefined (reading 'lockable')

Expected/desired behavior

The columns are reordered and no exceptions are thrown.

Environment

  • Kendo UI version: 2021.3.1207
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 15 Mar 2022 06:37 by ADMIN
Release 2022.R1.SP.next

Bug report

Pop-up for adding a new row does not appear when a filter is applied.

Reproduction of the problem

  1. Apply a filter.
  2. Try to add a new row.
    https://dojo.telerik.com/aNaCUkah/2

Current behavior

A new blank record is added to the DataSource but the pop-up for inserting a record does not appear.

Expected/desired behavior

When a filter is applied and click on the insertion button, the Pop-up should appear like when using Grid
https://dojo.telerik.com/EFigUGIX/2

Environment

  • Kendo UI version: 2022.1.301
  • Browser: [all]
Unplanned
Last Updated: 28 Oct 2021 14:42 by ADMIN
Created by: Rob
Comments: 0
Category: TreeList
Type: Feature Request
1

Exporting large amounts of data is very slow. 8000 records with 25+ columns take approximately 50 seconds to be sent to the export action. Increasing the number of records past 8k slows the export further, to a point where it takes minutes for the data to be sent to the controller.

Exemplary configuration:

@(Html.Kendo().TreeList<MVCTreeListTest.Models.CategoryModel>()
	.Name("treelist")
	.Columns(columns =>
	{
		columns.Add().Field(e => e.Name).Width(200);
		columns.Add().Field(e => e.Description).Width(300);
		columns.Add().Field(e => e.Field1);
		columns.Add().Field(e => e.Field2);
		columns.Add().Field(e => e.Field3);
		columns.Add().Field(e => e.Field4);
		columns.Add().Field(e => e.Field5);
		columns.Add().Field(e => e.Field6);
		columns.Add().Field(e => e.Field7);
		columns.Add().Field(e => e.Field8);
		columns.Add().Field(e => e.Field9);
		columns.Add().Field(e => e.Field10);
		columns.Add().Field(e => e.Field11);
		columns.Add().Field(e => e.Field12);
		columns.Add().Field(e => e.Field13);
		columns.Add().Field(e => e.Field14);
		columns.Add().Field(e => e.Field15);
		columns.Add().Field(e => e.Field16);
		columns.Add().Field(e => e.Field17);
		columns.Add().Field(e => e.Field18);
		columns.Add().Field(e => e.Field19);
		columns.Add().Field(e => e.Field20);
		columns.Add().Field(e => e.Field21);
		columns.Add().Field(e => e.Field22);
		columns.Add().Field(e => e.Field23);
	})
	.Toolbar(tools => tools.Excel())
	.Filterable(filterable => filterable
	.Extra(false))
	.Excel(excel => excel
		.FileName("Test.xlsx")
		.Filterable(true)
		.AllPages(true)
		.ForceProxy(true)
		.ProxyURL(Url.Action("Export", "Home"))
	)
	.Sortable()
	.DataSource(dataSource => dataSource
		.PageSize(250)
		.ServerOperation(false)
		.Read(read => read.Action("GetItemCategories", "Home"))
		.Model(m =>
		{
			m.Id(f => f.Id);
			m.ParentId(f => f.ParentCategoryId);
			m.Expanded(true);
			m.Field(f => f.Name);
			m.Field(f => f.Description);
			m.Field(f => f.IsActive);
		})
	)
	.Height(600)
)

Unplanned
Last Updated: 11 Jun 2021 06:45 by ADMIN
Created by: Uffe
Comments: 0
Category: TreeList
Type: Feature Request
5
Make both TreeList functionalities (rowTemplate and inline editing) work together.
Unplanned
Last Updated: 07 Apr 2021 22:42 by ADMIN
Created by: Rob
Comments: 0
Category: TreeList
Type: Feature Request
1

Hi Team, 

I would like to request the ability to editing with batch editing for boolean fields where the template could utilize a checkbox similar to this example.

Thank you!

Unplanned
Last Updated: 06 Apr 2021 06:01 by ADMIN
Created by: Cerealog Dev
Comments: 1
Category: TreeList
Type: Feature Request
0

It would be great if the TreeList could have the same LoadSettings method than the grid widget.

We could easily load user preference.

 

Completed
Last Updated: 31 Mar 2021 10:52 by ADMIN
Release 2020.R3
Created by: Martin
Comments: 2
Category: TreeList
Type: Bug Report
2

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.

Thanks.


Unplanned
Last Updated: 18 Nov 2020 10:54 by ADMIN
Created by: Martin
Comments: 0
Category: TreeList
Type: Bug Report
0

Bug report

HTML-encoding (columns.encoded) does not work in treeList with InCell editing enabled.

Reproduction of the problem

Refer to below Dojo:

https://dojo.telerik.com/EmEKukiD

Expected/desired behavior

When columns.encoded is set to true value shall be HTML-encoded

Environment
Kendo UI version: [all]
Browser: [all]

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

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.

Completed
Last Updated: 17 Feb 2020 13:31 by ADMIN
When using the standard Edit command in a column, it is possible to customize the standard text for the edit button (command.Edit().Text("Doit")). 
But it is not possible to customize the Cancel- or Update-Text (as it is in the grid: command.Edit().CancelText("Nope").UpdateText("Yep")) or to leave the text blank.