Print is not working in orgchart

家住魔仙堡 提交于 2019-11-28 10:50:45

问题


I am currently using getorgchart plugin. When ı want to print the chart , ıt opens a blank page.

$("#people").getOrgChart("print");

回答1:


You need to put the target document element (in your case people) inside something else. For example, nest it inside another div.

Example:

<div id="container">
  <div id="people"></div>
</div>

Fiddle



来源:https://stackoverflow.com/questions/28457817/print-is-not-working-in-orgchart

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!