jQWidgets Forums

jQuery UI Widgets Forums General Discussions Lists DropDownList Class being removed

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Class being removed #47040

    edilson88
    Participant

    I create the drop-down
    $(‘#mydropdown’).jqxDropDownList({ width: ‘120px’, height: ’25px’, theme: mytheme });
    So far the class is still ther , show up on the form normally.

    My class disappears after I add the source to a Dropdownlist.
    like in $(‘#mydropdown’).jqxDropDownList({ source: data});

    the drop-down is populated normally, but the class to adjust it on the form goes away.

    Class being removed #47042

    Peter Stoev
    Keymaster

    Hi edilsonamaral,

    If you want to dynamically add custom CSS classes to a widget, you may use the jQuery’s addClass method.

    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.