简体   繁体   English

数据表中的排序图标问题

[英]sorting icon issue in datatable

How to fix datatables sorting arrows not showing in header, as Iam using the code, from the link that mention here.如何修复 header 中未显示的数据表排序箭头,因为我正在使用此处提到的链接中的代码。 Everything is working good, pop up and all, but I am not able to fix the sorting icon一切正常,弹出和所有,但我无法修复排序图标

Here is the answer这是答案

I think you didn't included libraries for datatable我认为您没有包含用于数据表的datatable

For including jquery datatable libraries, copy following lines and put it in head tag.要包含jquery datatable库,请复制以下行并将其放入head标签中。

<link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css">
<script src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>

You can find Woking code你可以找到沃金代码

https://drive.google.com/file/d/1J0J5R3d1JMYQEQOx0vbUtI-PIpR6GcVN/view?usp=sharing https://drive.google.com/file/d/1J0J5R3d1JMYQEQOx0vbUtI-PIpR6GcVN/view?usp=sharing

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM