【问题标题】:Datatables export function not working数据表导出功能不起作用
【发布时间】:2014-07-23 07:55:45
【问题描述】:

按照以下说明,Datatables 导出功能在 localhost 中完美运行,但在 Google Apps 脚本中却没有。

DataTables TableTools buttons not working correctly (simple example)

  1. 我将 swf 文件托管在 google drive 中 --> 但不是 SWF 文件未在 gdrive 中打开。
  2. 使用驱动链接,设置swf路径

    例如: "sSwfPath":"https://googledrive.com/host/0B_qZnIMaDGX_UFZza0JrNHpRNlE/swf/copy_csv_xls_pdf.swf"

  3. 在闪存设置中添加了该驱动器链接

  4. 我在下面的链接中更新了我的脚本 http://live.datatables.net/royodij/10/edit

5.当我单击驱动器链接时,它没有显示任何内容。我需要打开这个文件。因为我的 google 应用程序脚本在我的 Google Site for DATATABLES 中使用此文件将数据表导出为 pdf、xls。

谁能帮我解决一下:

  1. 在 Google Apps 脚本中从 Datatable 导出 pdf、csv、excel
  2. 在 google drive 中打开 swf 文件

【问题讨论】:

标签: jquery html google-apps-script datatables


【解决方案1】:

从文件大小来看,不是最新的。无论如何,它现在似乎显示了,但 TableTools 导出可能不是除 CSV 和打印之外的任何东西的最佳选择。其他一切都将永远破碎。您可能已经注意到,它不支持 PDF 的 UTF8,XLS 实际上是 CSV(再次)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多