jQuery UI Widgets Forums Grid Custom rendering of a boolean column

This topic contains 2 replies, has 2 voices, and was last updated by  gediminas 11 years, 8 months ago.

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

  • gediminas
    Member

    Hello!

    I am trying to do custom rendering of an editable boolean column. The defaultHTML parameter that is sent to the callback cellsrenderer is NULL and therefore I cannot apply custom classes to the cell. Again, this seems to be the case only for boolean (checkbox) columns. Am I missing something? Or is this a bug?


    Peter Stoev
    Keymaster

    Hi,

    It is not possible to apply custom classes to a Checkbox column. It renders the jqxCheckBox widget so it automatically adds the checkbox CSS classes. If you want to customize the rendering of the Checkboxes, you will have to change the appropriate CSS classes in the theme.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/


    gediminas
    Member

    Hello,

    Thanks for the reply.
    So is there a way, that I could use a custom renderer for checkbox column cells? Specifically, I need to change the background color of these cells, depending on value.

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

You must be logged in to reply to this topic.