【问题标题】:Is there another method other than ctrl-p to get print dialog box in datatable print?除了 ctrl-p 还有其他方法可以在数据表打印中获取打印对话框吗?
【发布时间】:2015-01-22 00:30:07
【问题描述】:

用户在点击“打印”按钮后,每次想要打印页面时都必须键入 Ctrl + P 组合。

还有其他方法吗?打印预览页面上的按钮或其他内容,这样我每次提供支持或由于他们的健忘而不必告诉他们。

【问题讨论】:

    标签: jquery jquery-plugins datatable datatables jquery-datatables


    【解决方案1】:

    如果我的问题没问题,你可以这样做(本例中的引导图标):

       <span class="glyphicon glyphicon-print" onclick="javascript:window.print()"></span>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-09-14
      • 1970-01-01
      相关资源
      最近更新 更多