Odd rows with Bootstrap 4 and Scroller

Odd rows with Bootstrap 4 and Scroller

Loren MaxwellLoren Maxwell Posts: 31Questions: 10Answers: 2

Hey Allan,

I thought it was just the implementation on my site, but after looking at the example I see where the odd rows with Bootstrap 4 and the Scroller have the "transparent" look:

https://datatables.net/extensions/scroller/examples/styling/bootstrap4.html

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 43,187Questions: 1Answers: 5,623 Site admin
    Answer ✓

    Thanks for pointing that out! Looks like Bootstrap 4 uses an alpha shading to get the row striping:

    .table-striped tbody tr:nth-of-type(odd) {
        background-color: rgba(0, 0, 0, 0.05);
    }
    

    Fix committed here and the nightly will shortly be up to date with that change.

    Allan

  • Loren MaxwellLoren Maxwell Posts: 31Questions: 10Answers: 2

    Thanks, Allan. So if it's in the nightly, does that mean it will automatically be updated in the CDN tonight? Or do I need to download a local copy?

  • Loren MaxwellLoren Maxwell Posts: 31Questions: 10Answers: 2
    edited September 14

    Alright, never mind -- I took the time to read what you've written on the nightly build page!

    Maybe more to my point -- Since there's no version mentioned in the file name, how will I know when the https://nightly.datatables.net/scroller/css/scroller.bootstrap4.min.css file is part of the CDN the download builder makes?

    Or will it wait until the next version of Scroller?

  • allanallan Posts: 43,187Questions: 1Answers: 5,623 Site admin
    Answer ✓

    Or will it wait until the next version of Scroller?

    Exactly that. The CDN only hosts the release versions.

    Allan

  • Loren MaxwellLoren Maxwell Posts: 31Questions: 10Answers: 2

    Thanks, Allan.

    As always, greatly appreciated!

  • Loren MaxwellLoren Maxwell Posts: 31Questions: 10Answers: 2

    Allan, any guess as to when Scroller v1.4.4 might be released with this fix fully incorporated?

  • allanallan Posts: 43,187Questions: 1Answers: 5,623 Site admin
    Answer ✓

    That's the only change so far in Scroller. Normally I would bundle a number of changes together, but if it is stable enough to stay like that, then I would normally wait a couple of months before a release.

    Allan

Sign In or Register to comment.