kendo-ui-core
kendo-ui-core copied to clipboard
setOptions method throws an error when rows reordering is enabled
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
- Run this dojo
- 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]