diff --git a/README.md b/README.md index 7ab8ba0..2546bea 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ Hooks for building **lightweight, fast and extendable datagrids** for React diff --git a/src/plugin-hooks/useSortBy.js b/src/plugin-hooks/useSortBy.js index 2d0e8e8..4323ae3 100755 --- a/src/plugin-hooks/useSortBy.js +++ b/src/plugin-hooks/useSortBy.js @@ -156,7 +156,7 @@ function useMain(instance) { const canSort = accessor ? getFirstDefined( - columnDisableSorting, + columnDisableSorting === true ? false : undefined, disableSorting === true ? false : undefined, true )