Can default responsive bootstrap modal modified to hide columns which are hidden using colvis

Can default responsive bootstrap modal modified to hide columns which are hidden using colvis

NameUnavailableNameUnavailable Posts: 3Questions: 1Answers: 0

i am using default default responsive bootstrap modal with tableAll, is there any way i can hide data inside modal if column is hidden using column.visible

This question has an accepted answers - jump to answer

Answers

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

    Hi @NameUnavailable ,

    Hidden columns shouldn't be being displayed. 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

  • NameUnavailableNameUnavailable Posts: 3Questions: 1Answers: 0

    Thanks for replying,

    here http://live.datatables.net/xozuziji/1/edit if you squeeze the output window you will see the modal + button, on click it pops up modal with all column now in squeezed view using column visibility hide the salary column now press the modal + button salary column is still there

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

    Hi @NameUnavailable ,

    Thanks for that demo, that helps. You need to use a custom renderer (see last example on responsive.details.renderer. I've done that here and it looks like it's behaving as you want.

    Cheers,

    Colin

  • NameUnavailableNameUnavailable Posts: 3Questions: 1Answers: 0

    Thanks :)

This discussion has been closed.