Example: https://jsfiddle.net/bfelda/u26nt48b/43/
Logging out the currentSortConfig
and destSortConfig
results in the first argument being the Hansontable instance and the second argument being the current sort config.
The handsontable.d.ts file shows:
afterColumnSort?: (currentSortConfig: object[], destinationSortConfigs: object[]) => void;