"Window is not an object" when having SSR enabled in Angular #2011
Describe the bugAs the title suggests really. If you have SSR enabled, it doesn't seem to like the import. As described in your documentation
Has any workaround been found for this or can you just not use SSR with SlickGrid? ReproductionJust enabled SSR and import AngularSlickGridModule Which Framework are you using?Angular Environment Info| Executable | Version |
| ------------------- | ------- |
| (framework used) | ^19.2.0 |
| Slickgrid-Universal | ^9.2.0 |
| TypeScript | ~5.7.2 |Validations
|
Answered by
ghiscoding
Jun 17, 2025
Replies: 1 comment 2 replies
|
This was already asked:
I'm not even sure SSR is possible with such project, personally I never used SSR yet and I can't help at all with this. I don't consider this an issue with the project, this should have been opened as a Discussion and I'll convert it to such. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah I'm just not sure if it's even realistically doable since the grid uses and expect the
windowin multiple areas, it's requires the DOM so... Perhaps it's because I never used SSR and I don't understand it, but personally I don't think it's a project issue but rather more of a "is it even doable in SSR" question which I can't answer myself.