DataTable TableTools图像不能与ThemeRoller一起使用 [英] DataTables TableTools images not working with ThemeRoller

查看:155
本文介绍了DataTable TableTools图像不能与ThemeRoller一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 tabletools 启动并运行 datatables ,它的效果很好。我唯一的问题是 tabletools 按钮的图标。当它们是标头的div外使用 sDom: 'T< 清晰 >< H LF> RT< F 的ip>'的图标显示起来很好,当我把标题中的 tabletools ,图标不显示sDom:'<HlTf> <Fip>'

I have tabletools up and running with datatables and it works great. The only problem I am having is icons for the tabletools buttons. When they are outside the header div using "sDom": 'T<"clear"><"H"lf>rt<"F"ip>' the icons show up just fine, when I put the tabletools inside the header, the icons dont show up "sDom": '<"H"lTf>rt<"F"ip>'

图像说明了组合的sDom:T <HlTf> rt<Fip>'

推荐答案

我有同样的问题当我使用bJQueryUI:true,我可能认为jqueryUI有问题,如果没有问题,你可以使用集合,例如:

I have the same problem when i use "bJQueryUI": true, i may think there is a problem with the jqueryUI if there is not a problem you can use collection instead for example:

"oTableTools": { "aButtons": [{"sExtends":    "collection","sButtonText": "Save", "aButtons":    [ "csv", "xls", "pdf" ]},]

它将在列表中显示图标

这篇关于DataTable TableTools图像不能与ThemeRoller一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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