jquery Datatables排序图标放在实际文本的下面? [英] jquery Datatables sort icons put on row below the actual text?

查看:371
本文介绍了jquery Datatables排序图标放在实际文本的下面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了查看/删除我的jquery Datatables插件的sDom设置外,我已经浏览了所有的CSS文件(还有很多),但是由于某种原因,排序图标(上下箭头)我的文本旁边是文本下面的地方,就像一个HTML
被某种方式输入。



有没有人有过这样的事情?

解决方案

答案就在我面前,但显然你必须将'display'类应用于所有的表格元素才能正常运行。我花了几个小时看CSS,但没有回来。我希望我的时间可以帮助拯救别人一个新的墙。


I have scoured through all my CSS files (and there are a lot of them) in addition to looking at/removing the sDom settings for my jquery Datatables plug in but for some reason, the sort icon (up and down arrows) next to my text is place below the text as if an html
was somehow input.

Has anybody ever had this happen before?

解决方案

the answer was right in front of me but apparently you have to apply the 'display' class to all table elements for the script to properly function. I had spent hours upon hours looking through CSS on this but nothing came back. I hope my time can help save somebody else a new wall.

这篇关于jquery Datatables排序图标放在实际文本的下面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆