Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Data Grid › Window not define Next.js even with dynamic import Tagged: nextjs, react, typescript This topic has 3 replies, 2 voices, and was last updated 3 years, 5 months ago by admin. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts May 6, 2022 at 7:16 am #103142 bilal.yasin.whitesandParticipant Hi I am trying smart grid in Next.js and getting this error window is not defined. Even though I am dynamically importing the grid following the example here: https://www.htmlelements.com/docs/grid-nextjs/ Error: https://ibb.co/xqDNn7f Code: https://ibb.co/BLTJBKL Regards Bilal Yasin May 6, 2022 at 9:21 am #103145 adminKeymaster Hi Bilal Yasin, We will need a complete sample which either in stackblitz or codesandbox which shows the reported behavior. Best regards, Peter Stoev Smart UI Team https://www.htmlelements.com/ May 6, 2022 at 10:35 am #103146 bilal.yasin.whitesandParticipant Here you go Stackblitz link with the issue: https://stackblitz.com/edit/github-kap7fe?file=pages/index.tsx May 6, 2022 at 11:26 am #103147 adminKeymaster Hi, I updated the sample – https://stackblitz.com/edit/github-kap7fe-vfqtjf?file=pages%2Findex.tsx Best regards, Peter Stoev Smart UI Team https://www.htmlelements.com/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In With Google Log In