Unplanned
Last Updated: 03 Feb 2022 07:14 by Kevin
Kevin
Created on: 03 Feb 2022 07:14
Category: Grid
Type: Bug Report
0
The columns.sortable.initialDirection configuration of the Grid is not respected

Bug report

When the columns.sortable.initialDirection configuration is set it is not respected

columns: [{
      field: "id",
      sortable: {
        initialDirection: "desc"
      }
    }],

Reproduction of the problem

  1. Run this dojo

Current behavior

Note the userId column is not sorted in descending order

Expected/desired behavior

Column should be sorted in descending order

Workaround

Use the dataSource sort configuration option to set the sort order - example

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all]
0 comments