Odd rows with Bootstrap 4 and Scroller

Odd rows with Bootstrap 4 and Scroller

Loren MaxwellLoren Maxwell Posts: 382Questions: 93Answers: 10

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: 61,322Questions: 1Answers: 10,023 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: 382Questions: 93Answers: 10

    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: 382Questions: 93Answers: 10
    edited September 2017

    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: 61,322Questions: 1Answers: 10,023 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: 382Questions: 93Answers: 10

    Thanks, Allan.

    As always, greatly appreciated!

  • Loren MaxwellLoren Maxwell Posts: 382Questions: 93Answers: 10

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

  • allanallan Posts: 61,322Questions: 1Answers: 10,023 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

This discussion has been closed.