this.indexesSequenceCache.getValues() seems to be returning null, resulting in Cannot read properties of null (reading ‘slice’) in columnSorting when disabling or enabling sorting?
This happens when sorting a column then deactivating columnSorting, reactivating it, and deactivating it once more. Handsontable verson 8.4.0
indexMap.js:88 Uncaught TypeError: Cannot read properties of null (reading ‘slice’)
- at IndexesSequence2.setValues (indexMap.js:88:35)*
- at IndexMapper2.setIndexesSequence (indexMapper.js:539:28)*
- at ColumnSorting2.sortByPresetSortStates (columnSorting.js:740:33)*
- at ColumnSorting2.sort27 (columnSorting.js:380:14)*
- at ColumnSorting2.onAfterOnCellMouseDown (columnSorting.js:967:14)*
- at Core. (columnSorting.js:286:23)*
- at Hooks2.run (pluginHooks.js:2198:46)*
- at Core.runHooks (core.js:4464:48)*
- at Object.onCellMouseDown (tableView.js:812:27)*
- at Settings3.getSetting (settings.js:190:33)*
- at Walkontable2.getSetting (core.js:279:30)*
- at Event3.onMouseDown (event.js:229:23)*
- at HTMLDivElement. (event.js:133:24)*
- at HTMLDivElement.callbackProxy (eventManager.js:70:18)*