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

查看:118
本文介绍了如何打印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天全站免登陆