### 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]
Pop-up for adding a new row does not appear when a filter is applied.
A new blank record is added to the DataSource but the pop-up for inserting a record does not appear.
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
Regression introduced in R3 2021 SP2.
Dojo example: https://dojo.telerik.com/IKIhazAm
A js exception is thrown:
Uncaught TypeError: Cannot read properties of undefined (reading 'lockable')
The columns are reordered and no exceptions are thrown.
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)
)
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!
It would be great if the TreeList could have the same LoadSettings method than the grid widget.
We could easily load user preference.
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]
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.
Dear support,
Your documentation clearly states that there is an option to export all pages:
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 ActiveWhy 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.
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.