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

setOptions method throws an error when rows reordering is enabled

Open aleksandarevangelatov opened this issue 3 years ago • 0 comments

Bug report

Calling the Grid's setOptions method when the Grid was configured with enabled rows reordering:

"reorderable":{
    "columns":true,
    "rows":true
}

a JavaScript error is thrown: Uncaught TypeError: Cannot read properties of undefined (reading 'destroy')

Reproduction of the problem

  1. Run this dojo
  2. A JavaScript error is thrown when the setOptions method is called

Expected/desired behavior

Setting the Grid options should be possible when rows reordering is enabled.

Environment

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

aleksandarevangelatov avatar Aug 04 '22 11:08 aleksandarevangelatov