Data tables with bootstrap

1

Someone has some simple tutorial to apply the data table in the bootstrap, tried the forms that have on the site but could not, with skell css worked perfectly but with bootstrap does not appear.

<link rel="stylesheet" type="text/css" href="dataTables.bootstrap.css">

    <script type="text/javascript" language="javascript" src="//code.jquery.com/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" language="javascript" src="//cdn.datatables.net/1.10.3/js/jquery.dataTables.min.js"></script>
    <script type="text/javascript" language="javascript" src="dataTables.bootstrap.js"></script>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
            $('#example').DataTable();
        } );
    </script>
    
asked by anonymous 15.03.2016 / 14:22

1 answer

2

The process is quite simple and is available on the DataTables site. Just import all files in the correct sequence.

  • jQuery > = 1.12
  • Bootstrap JS / CSS
  • DataTables
  • Bootstrap style for datatables
  • Follow the jsfiddle of everything imported and working, any questions you can speak :)

        
    15.03.2016 / 14:32