kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

When server-side localization is used Filtering for the TreeList is always enabled

Open aleksandarevangelatov opened this issue 3 years ago • 0 comments

Bug report

When server-side localization is used Filtering is always enabled.

Reproduction of the problem

Runnable sample is available in ticket 1580765 The Filterable.Operators automatically configures the messages for the string, number, date and enum operators based on the resx files.

Current behavior

Filtering for the TreeList is always enabled.

Expected/desired behavior

Filtering for the TreeList should be configurable irrespective of whether localization is used or not.

Workaround

After the TreeList is initialized call the setOptions method and disable filtering:

$(document).ready(function(){
    var treelist = $("#treelist").getKendoTreeList();
    treelist.setOptions({
        filterable:false
    });
})

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]

aleksandarevangelatov avatar Sep 26 '22 12:09 aleksandarevangelatov