DataTable missing sorting icon
DataTable missing sorting icon
Hello,
Unfortunately, i have tried every single possibility of solution for this problem, including the one described in a discussion in this forum.
The problem is the fact that the sorting icon on my datable doesn't appear. Another problem/inconvenient is the type of icon. Basically are two types, the most standard one and the most awesome, and i want to use the last one mentioned.
I really tried everything. Import of .js and .css, definitions in the php page.
I don't know what to do now.
Thank you,
Best regards,
msvf.
Replies
Can you paste your table code in?
Yes, we'd need a link to the page to understand what code you are including and why it isn't doing what you want. I think just the code probably won't be enough in this case since it might be a missing resource on the server. We'd need an actual link to a page showing the issue.
Allan
Ok, sorry for taking soo long but i had to move forward with the project.
The code is going to be presented below:
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.span3 {
height: 450px !important;
overflow: scroll;
}
.results tr[visible='false'],
.no-result{
display:none;
}
.results tr[visible='true']{
display:table-row;
}
.counter{
padding:8px;
color:#ccc;
}
table.dataTable th:active {
outline: none;
}
</style>
</head>
<body>
</body>
</html>
Thank you for your attention, you probably don't have too much free time. I really appreciate it. Thank you.
Check your js references.
You are loading two versions of jQuery and three versions of Bootstrap.
Also
They are CSS files, not scripts.
Thank you sooo much. It is working now !
You're great