Vizlib Home Try Vizlib
Welcome
Login
Answered

Vizlib Sheet menu - selection bar color

Is it possible to control the selection bar color to be aligned with the entire sheet (and not gray)


image


  • Hi benji,
    While there isn't a built-in control in Sheet Menu for this setting.
    You can do it quite easily by taking advantage of the style css setting in the Global settings section. 
    ‚ÄčThis is an example for a code that sets the bar and font colors.

    ='.bright.qv-panel-current-selections .no-selection {
        color: #242fad;
        background-color: #ff0000;
    }'

    Please note your unique ticket reference (#27718) and URL https://community.vizlib.com/helpdesk/tickets/27718


  • Hi, Benji,
    There is a small change that needed to be made in the code.
    The code in the first response only covers the case where no selections were made in the app.
    This is the code that also handles the case when a selection has been made.
    ='.bright.qv-panel-current-selections .no-selection{
        color: #242fad;
        background-color: #ff0000;
    }
    .bright.qv-panel-current-selections .wrap {
        color: #242fad;
        background-color: #ff0000;
    }'


    Please note your unique ticket reference (#27718) and URL https://community.vizlib.com/helpdesk/tickets/27718


Login to post a comment