
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
    <script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
    <div class="container">
    <div class="row">
        <div class="col-lg-12">
            <h1>Compras </h1>
        
<table id="example" class="table table-striped table-bordered text-center" style="width:100%">
    

 
        <thead>
            <tr>
                <th>Id compra</th>
                <th>Nombre comprador</th>
                <th>Estado</th>
                <th>Fecha</th>
                <th>Ciudad</th>
                <th>Acciones</th>
            </tr>
        </thead>
        <tbody>
           
        </tbody>
        <tfoot>
            <tr>
                <th>Id compra</th>
                <th>Nombre comprador</th>
                <th>Estado</th>
                <th>Fecha</th>
                <th>Ciudad</th>
                <th>Acciones</th>
            </tr>
        </tfoot>
    </table>
</div>
   </div>
</div>
    <script type="text/javascript">
        $(document).ready(function() {
    $('#example').DataTable();
} );
    </script>