Styling colvis button menu

Styling colvis button menu

jwinterjwinter Posts: 9Questions: 2Answers: 0

Is it possible to style the colvis button popup menu to have a wider column width (or flexible width based on column name length)?

Also, can one adjust the colors of the buttons to have more contrast so it's easier to see which columns are visible/invisible?

Thanks.

Answers

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin

    This is the CSS which defines the default width.

    You can modify the CSS or probably preferably override it, to suit your needs.

    Allan

  • jwinterjwinter Posts: 9Questions: 2Answers: 0

    Can you give an example of an override rule that makes the selected column buttons darker?

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    button.dt-button.active {
        background: grey !important;
    }
    

    Allan

  • jwinterjwinter Posts: 9Questions: 2Answers: 0

    Thanks!

This discussion has been closed.