Bug? Or am I doing something wrong? (globals like Resizable and MouseWheel) #936
-
I am updating a project that is using SlickGrid, as we really like the functionality. We were using 3.x, upgrading to 5.5.5. Overall, it seems to be OK. I changed the include paths from things like There are a few places in Is there something I'm missing in including these files to get the globals correct? Or is there a bug in how the Typescript is being converted to Javascript for the dist folder. (As a note, right now using the ES6/ESM and esbuild method isn't an option for us, we need to stick with the Standalone Scripts method. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There's a specific order that you have to load core/grid/interactions (if I remember correctly it's core first, then interactions and the slick.grid, because the Slick namespace has to be created first (by the core), but again read the migration Wiki to make sure), it should be written in the migration guide (I think) and the SlickGrid/src/slick.interactions.ts Lines 274 to 280 in 13af6f5 also make sure to follow the migration in order, 3.x to 4.x then 4.x to 5.x Also note that the |
Beta Was this translation helpful? Give feedback.
There's a specific order that you have to load core/grid/interactions (if I remember correctly it's core first, then interactions and the slick.grid, because the Slick namespace has to be created first (by the core), but again read the migration Wiki to make sure), it should be written in the migration guide (I think) and the
dist/browser
version if being transpiled by usingIIFE
and it's exported correctly as shown below. All Examples are working fine and we have plenty of Cypress E2E tests to make sure they do, so you should compare against the Examples that is closest to your use cases (most Examples are still using theIIFE
akadist/browser
) so just compare against them.SlickGrid/…