DataTables Responsive Extension Hide Bootstrap Modal

DataTables Responsive Extension Hide Bootstrap Modal

magedhamidmagedhamid Posts: 2Questions: 1Answers: 0
edited March 2022 in Responsive

The bootstrap modal show button works fine in the normal datatable, but when the browser is resized and the responsive plugin hide the modal button column, the modal are no longer shown when the modal button clicked in responsive mode.

Link to test case: https://jsfiddle.net/vn1x72u5/1/

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Answer ✓

    Use our listHiddenNodes renderer to move elements between the row and child row rather than copying them as the default renderer does: https://jsfiddle.net/710f2z86/ .

    Worth noting this renderer is experimental, but it seems to do the job nicely in this case.

    Allan

  • magedhamidmagedhamid Posts: 2Questions: 1Answers: 0

    Thanks Allan,

    Your answer solved the problem immediately.

    I'm very grateful for your great support.

    Thanks,
    Best Regards.

Sign In or Register to comment.