jQuery UI Widgets › Forums › Angular › Angular 8 install
This topic contains 3 replies, has 3 voices, and was last updated by ivanpeevski 1 year, 4 months ago.
AuthorAngular 8 install Posts
November 2, 2021 at 7:12 pm Angular 8 install #121016
I have an application with multiple modules. Is it possible to use the npm install jqwidgets-ng? I tried this and the install works fine, but if I add modules (ie: jqxGridModule) to my AppModule then I don’t have access to the jqxGridComponent in other modules I’ve added to AppModule. ONLY within AppModule.
In past I had to use the jqwidgets-scripts/jqwidgets-ts/ install in order to access among multi-modules, but decided in my latest app to try the jqwidgets-ng install. Does this not work? Or what trick am I overlooking in the setup?
Thanks!November 3, 2021 at 4:31 pm Angular 8 install #121020
I have created a github repository on how to set up jQWidgets with Angular 8 using the ‘npm install jqwidgets-ng’.
Link to the github repo: https://github.com/yavor-htmlelements/ng8test
If you can modify it so that it reproduces the issue that you have so that we could be able to give you a proper solution for this.
Let me know what you think!
Please, do not hesitate to contact us if you have any additional questions.
jQWidgets TeamNovember 18, 2021 at 4:41 pm Angular 8 install #121100
I don’t use github, so not exactly sure how to edit your example. But using your created example, if you add another module to AppModule (ie: SharedModule), and within SharedModule you are wanting to add components which use jqxGridComponent (ie: ClientTableComponent, and InventoryListComponent), how is it that you can make it accessible within SharedModule? I can’t add the jqxGridModule because it is already added to AppModule, but it cannot be seen from SharedModule.
Thank-you!November 19, 2021 at 6:06 pm Angular 8 install #121105
If you don’t use github, you can also send us a zipped project, which reproduces the issue so that we can give you a proper solution.
In the meantime, if have already imported jqxGridModule and/or any other jqWdigets Module in
AppModuleand you want those modules to be available to other custom modules, then you can set jqxGridModule as one of the
AppModuleand then import
AppModuleto the custom modules, where you want to use the jqxGridModule. I suggest having a look at the following guide regarding sharing modules in Angular.
I hope this will be of help!
If you face any other problems, please do not hesitate to contact us again.
You must be logged in to reply to this topic.