Hello everyone.
I am using angular grid component as a way to show data.
When I serve my app with "ng serve" control everything works fine, data is loaded and displayed correctly.
When I deploy my app via "ng build" so I can deploy it to remote server, my data is not displayed. Instead, it only shows spinner that is not used in my application at all.
Any help would be appreciated.
Console error:
Image of working grid:
Not working grid:
Hello,
I will try everything that you listed and return to you with update.
In the meantime, is it possible that version of "compilerOptions" in tsconfig.json has anything to do with it ?
Hello Sujith,
thank you for everything.
Issue has been resolved by doing all the above steps you wrote.
Regards,
Ivan
Greetings,
I have one more question regarding this or at least similiar problem.
When I did steps above, my deployment issue was solved. Tables are displayed correctly in my app.
Although, one thing I noticed. Previously I was using version 19.1.69 of @syncfusion/ej2-angular-grids and when I did deploy with that version I was getting errors above, updating to latest solved it, atm version 19.3.53.
In my app I have a form that pops up as result of editing table row. In that form I have few controls, among other things, few ejs-grids.
When using version 19.1.69 those tables are displayed correctly, when using 19.3.53 tables are not shown at all.
Pictures below:
Data Shown(19.1.69):
Data not shown (19.3.53):
In zip I am sending ts files and htmls.
Thank you in advance,
Ivan
Hello,
I have not been working on this project for a while, now I'm back at it, hope we can resolve this issue.
Calling the above method did not work, problem still persist.
Can you please confirm us if the reported problem is the data not loaded in Grid or if the Grid itself is not rendered
We retrieve data using crud service and data is succesfully loaded into grid, there is no errors in code. Only grid itself is not rendered.
Are any console errors thrown? If so please share it.
Only consolse error I get is the one on picture below:
Let us know from where you are opening the popup which has Grid inside it and which popup control you are using
We have one grid (in fact, the one where this problem began, at the top of this forum post) where we are showing some data and when row is cdoubleclicked or when row is clicked and then button pressed (on table toolbar) popup opens. Code below:
modalService and BaseDialogComponent are all from ng-bootstrap.
Share us a sample data structure bound in the Grid
In zip in attachment.
Hope to hear from you soon.
Sincerely,
Ivan
Hello,
I just want to post solution that you provided during our meeting.
Thank you for everything. :)