数据表表工具->仅导出选定的行 [英] datatables tabletools -> export only selected rows

查看:98
本文介绍了数据表表工具->仅导出选定的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过ajax请求填充的大表上使用带有tabletools的数据表.

I am using datatables with tabletools on a large table which is filled via ajax request.

当用户选择几行时,它将显示为表中选定的行.

When user selects several rows, it shows them as selected in the table.

如何告诉csv/xls导出仅导出选定的行?

How can i tell the csv/xls export to ONLY export the selected rows?

预先感谢

推荐答案

愚蠢的我...

就知道了:

            {
                "sExtends": "csv",
                "bSelectedOnly": true
            }

这篇关于数据表表工具->仅导出选定的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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