Bootstrap Modal and data tables

Bootstrap Modal and data tables

jtperksjtperks Posts: 1Questions: 1Answers: 0

Hi,
Noob here. I'm trying to incorporate a bootstrap 4 modal into my datatable. Seems like the bootstrap.min.css is interfering. Do I have my order right? Thanks

 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>


  <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.css">
  <script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.js"></script>

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @jtperks ,

    This example here might help - take a look at the JavaScript and CSS tabs to see the files you need to include.

    Cheers,

    Colin

This discussion has been closed.