Skip to content

slickGrid is null? #704

Answered by ghiscoding
ryanhamilton asked this question in Q&A
Jun 24, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

The slickGrid object might not be available right away, you can use either onGridCreated or onSlickerGridCreated events to get it after it's created and available (see Events - Wiki. For adding/removing columns is shown in this Example 7

You seem to be mixing code from this project's vanilla grid bundle while also using SlickGrid/DataView directly, you will probably face a few issues by doing that. I'm saying this because I see you're using Slicker.GridBundle which is great but then you're using the SlickGrid and DataView directly and by doing so you're basically bypassing Slickgrid-Universal's code and you'll for sure encounter problems (out of sync issues and others). I would suggest to…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ryanhamilton
Comment options

@ghiscoding
Comment options

Answer selected by ghiscoding
@ryanhamilton
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants