Modals only working with table class="collapsed"

Modals only working with table class="collapsed"

philipphilip Posts: 11Questions: 5Answers: 0
edited November 2017 in General

I can only get bootstrap modals to work when the collapsed table class is added, yet this class only exists if the table is collapsed. Adding it by default when the table is generated does not work as the class disappears.

How can we get modals to always work? Is it true that the collapsed class is required?

Answers

  • allanallan Posts: 52,836Questions: 1Answers: 8,106 Site admin

    Can you link to a page showing the issue please? How are you triggering your modals?

    Allan

  • JayBeraJayBera Posts: 1Questions: 0Answers: 0

    I am facing same issue I have to add collapsed class writing separate jQuery because when the table is generated does not work as the collapsed class disappears.

    Is there any option to do this?

  • kthorngrenkthorngren Posts: 11,025Questions: 25Answers: 2,524
    edited June 2019

    The developer asked for more information and a test case replicating the issue. Please provide a test case so the issue can be debugged.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

Sign In or Register to comment.