Duplicated
Last Updated: 15 May 2020 08:22 by ADMIN
Antonio
Created on: 11 May 2020 07:15
Category: Grid
Type: Bug Report
1
No sorting arrows appear in Grid when datasource is programatically sorted and read method called

Bug report

If the datasource of a Grid with "autoBind: false" configuration is sorted using the below code, the data sorting in the component is correct but no sorting arrows appear in the headers of the sorted columns.

var grid = $("#grid").data("kendoGrid");
var sort = [{field: "Freight", dir: "desc"}, {field: "OrderDate", dir: "asc"}];
grid.setOptions({ dataSource: {sort: sort }});
grid.dataSource.read();

  • This is a regression introduced in version 2020.1.114

Reproduction of the problem

  1. Open this Dojo example and run it
  2. See the headers of the "Freight" and "Order Date" columns

Current behavior

The sorting arrows are missing for both the "Freight" and "Order Date" columns
image

Expected/desired behavior

The arrows should appear as shown in the image below. The correct behavior can be observed in this Dojo example
image

Environment

  • Kendo UI version: 2020.1.406
  • jQuery version: x.y
  • Browser: [all]
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
0 comments