jQuery UI Widgets Forums Angular Theme not working in angular

This topic contains 1 reply, has 2 voices, and was last updated by  Yavor Dashev 3 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Theme not working in angular #120960

    renzcc
    Participant

    I’m trying to create a small tool system and i’m using jqwidgets for it. After reading some documentations on how to implement theme and strictly following it. Themes are not applying to any of my controls. jqwidgets module is already installed on my angular app and i’m trying to use dark theme but it doesn’t get applied.

    <jqxGrid 
        [theme]="'dark'"
        [width]="getWidth()" [source]="dataAdapter" [columns]="columns"
        [pageable]="true" [autoheight]="true" [sortable]="true" 
        [altrows]="true"  [enabletooltips]="true"  [editable]="true">
    
    "styles": [
                  "src/styles.css",
                  "./node_modules/jqwidgets-ng/jqwidgets/styles/jqx.base.css",
                  "./node_modules/jqwidgets-ng/jqwidgets/styles/jqx.dark.css"
                ],
    
    Theme not working in angular #120965

    Yavor Dashev
    Participant

    Hi renzcc,

    When you set the theme like so make sure you run the ng serve command again to apply the changes in the angular.json file.

    Setting the property on my machine worked as intended, but I would like to ask you to create a code example which reproduces the issue so that we could be able to give you a viable solution.

    Please, do not hesitate to contact us if you have any additional questions.

    Best regards,
    Yavor Dashev
    Smart UI Team
    https://www.htmlelements.com/

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

You must be logged in to reply to this topic.