如何打印 ExtJS 组件? [英] How to print ExtJS component?

查看:19
本文介绍了如何打印 ExtJS 组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何弹出打印对话框,在确定后打印组件?

How do I pop up the Print dialog that will print out a component when OK-ed?

推荐答案

在 ExtJS 中打印并不是特别容易.我发现的关于使组件可打印的最佳资源可以在 Sencha 架构师的博客.这篇文章描述了如何为组件设置自定义打印渲染器,以及有关打印的其他详细信息.但是,此信息适用于 ExtJS 3.x;ExtJS 4 可能使打印更容易.

Printing in ExtJS is not paticularly easy. The best resource I've found on making components printable can be found on a Sencha architect's blog. The post describes how to set up custom print renderers for components, and other details about printing. However, this information is for ExtJS 3.x; it's possible that ExtJS 4 has made printing easier.

这篇关于如何打印 ExtJS 组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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