jQWidgets Forums

jQuery UI Widgets Forums Angular Angular 8 install

Tagged: ,

This topic contains 3 replies, has 3 voices, and was last updated by  ivanpeevski 3 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Angular 8 install #121016

    loridale27
    Participant

    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!

    Angular 8 install #121020

    Yavor Dashev
    Participant

    Hi loridale27,

    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.

    Best regards,
    Yavor Dashev
    jQWidgets Team

    https://www.jqwidgets.com

    Angular 8 install #121100

    loridale27
    Participant

    Yavor,
    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!

    Angular 8 install #121105

    ivanpeevski
    Participant

    Hi loridale27,

    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 AppModule and you want those modules to be available to other custom modules, then you can set jqxGridModule as one of the exported modules from AppModule and then import AppModule to 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.
    Best regards,
    Ivan Peevski
    jQWidgets Team

    https://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.