Clear sort handsontable programatically

Tags: #<Tag:0x00007efc6564e048>

Hello,

I use Version: 5.0.0 * Release date: 11/07/2018 (built at 11/07/2018 12:11:05) handsontable.full.js.

if i apply
const sortingPlugin = hot.getPlugin(‘columnSorting’);
sortingPlugin .ClearSort()

or

hot.ClearSort()

Howerever , in both case it is undefined , can you please let me know how can i clear sorting programatically in javascript

Hey @viral.mehta

you’re right the clearSort method returns a bug

Uncaught TypeError: sortingPlugin.clearSort is not a function

Only thing I can propose is to update the library as it works as expected in the latest version http://jsfiddle.net/7hbLvkeq/1/ (6.2.2)