jQWidgets Forums

jQuery UI Widgets Forums Lists ListBox Style for disabled checkbox in listbox

This topic contains 2 replies, has 2 voices, and was last updated by  mengl2 9 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Style for disabled checkbox in listbox #75277

    mengl2
    Participant

    Hi,

    I didn’t see any disabled css class applied to disabled checkbox in listbox. How can I style the disabled checkbox within a listbox to make it look different from enabled ones.

    Thanks!
    Meng

    Style for disabled checkbox in listbox #75296

    ivailo
    Participant

    Hi mengl2,

    Probably this workaround will be helpfull for you.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Style for disabled checkbox in listbox #75323

    mengl2
    Participant

    Hi Ivailo,

    So you actually means something like this?
    $(‘#list-id’).find(‘.jqx-listitem-state-disabled’).prev(‘.chkbox’).children(‘.jqx-checkbox-default’).addClass(‘checkbox-disabled’). Basically find the checkbox previous to the existing disabled label, and manually add disabled class to that checkbox right?

    Well this worked but it is a little bit nasty. Hopefully this fix can be take into consideration for next release. Thanks!

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

You must be logged in to reply to this topic.