dropup on colvis button

dropup on colvis button

timbcusicktimbcusick Posts: 21Questions: 6Answers: 0

Hello,

This question was never answered and I am also looking for the answer. Have tried adding dropup: true with no luck. Tried adding className : "dropup" with no luck.

https://datatables.net/forums/discussion/39943/colvis-dropup-instead-of-dropdown

Thanks,

Tim

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @timbcusick ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • timbcusicktimbcusick Posts: 21Questions: 6Answers: 0

    @colin thanks. Here is the debugger code: udulun

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @timbcusick ,

    This example here should help - it's showing how the option dropup should be set to true, rather than a class. Your debug is also showing that you're on fairly old versions of DataTables and Buttons, so it would be worth considering updating.

    Hope that helps,

    Cheers,

    Colin

  • timbcusicktimbcusick Posts: 21Questions: 6Answers: 0

    @colin thanks. dropup doesn't appear to work in the older version of datatables. When I upgraded to 1.10.18 everything worked great!

This discussion has been closed.