jQWidgets Forums

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Change theme Posts
  • Change theme #22655

    atdaxx
    Member

    hello:jqxwidget overload
    I have a problem about theme.what should I do when I want to change the theme dynamically not but initializing

    Change theme #22656

    Peter Stoev
    Keymaster

    Hi,

    In order to create a new theme and apply it after that, please look at the instructions here: http://www.jqwidgets.com/themebuilder/. A new theme should have a new name i.e all of the styles in the Theme should end with “-your-theme-name” and a separate CSS and it should be applied after the jqx.base.css. After that, when you initialize the widget, set its “theme” property to “your-theme-name”.

    To dynamically change a theme, set the “theme” property of a widget to point to the theme’s name and make sure that the theme’s CSS file is loaded on the page and is after the jqx.base.css file.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.