Enabling column reorder #1019
-
When setting up the SlickGrid instance, the following error shows up: I do need the column reorder function. A workaround is to separately import |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sortable is the only dependency of SlickGrid and it must be loaded before SlickGrid itself, if you use the IIFE build then simply move your Sortable |
Beta Was this translation helpful? Give feedback.
Sortable is the only dependency of SlickGrid and it must be loaded before SlickGrid itself, if you use the IIFE build then simply move your Sortable
<script>
import before SlickGrid, or if you use other build (CJS/ESM) then assign Sortable to thewindow
orglobal
object. It's already mentioned in the Migration Guide to 5.0