Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82033

sort icons not showing with Bootstrap 4

$
0
0


Hi, I need a help please. I am not getting sort icons displayed. Please assist. When I used this link <link rel="stylesheet" href="css/dataTables.bootstrap.min.css"> in the head section I am getting square images as sorting icons as per attached image. But when I use <link rel="stylesheet" href="css/dataTables.bootstrap.min.css"> the sorting icons disappear. Please assist. ![](https://datatables.net/forums/uploads/editor /0t/liwcx2msj7ur.png "")
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jQuery Data Table</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="css/dataTables.bootstrap.min.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">

</head>
<body>

<?php //echo "live"; $conn = new mysqli ('localhost', 'root', '', 'jquerydatatable'); $sql = $conn->query('SELECT * FROM country'); while($data = $sql->fetch_array()){ echo ' '; } ?>
ID Country Name Country Code
' .$data['id'].' ' .$data['name'].' ' .$data['countryCode'].'


$(document).ready(function(){ $(".table").DataTable(); });

</body>
</html>


Viewing all articles
Browse latest Browse all 82033

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>