简体   繁体   English

我们如何使用Flex bulider生成报告?

[英]How can we generate Reports using flex bulider?

is it possiable we can bulid the reports using flex bulider ? 我们可以使用flex bulider来建立报告吗? or can we and any frameworks for build the reports ? 还是我们和建立报告的任何框架? . i don't know what way to bulid the reports 我不知道如何编制报告

flex bulider have any build reports compoents there? flex bulider那里有任何构建报告组件吗?

i want sorting reports order like 我想像这样排序报告顺序

By Product Company Name Expected Close Month Consultant Expected Revenue this is are fields 按产品公司名称的期望月度顾问预期收入这是字段

Product 1 A May'10 X £1,000.00 产品1 A May'10 X£1,000.00
B Jun'10 Y £2,000.00 C Jul'10 X £3,000.00 Sub Total £6,000.00 B Jun'10 Y£2,000.00 C Jul'10 X£3,000.00小计£6,000.00
Product 2 etc 产品2等
Grand Total £24,000.00 总计£24,000.00

This is are data . 这是数据。 How is it possiable ? 怎么可能?

Could u give any gudiends me ? 你能给我任何建议吗?

Answer based on first revision. 答案基于第一个修订版。

Typically applications would give this responsibility to the server. 通常,应用程序会将这种责任赋予服务器。 Your Flex application passes parameters to the server with a request for a PDF document and the server puts together the appropriate one and seconds it back. 您的Flex应用程序将参数传递给服务器,并要求提供PDF文档,然后服务器将相应的参数放在一起,然后将其放回几秒钟。

If you're using AIR to run your Flex application you could probably write a library to create a PDF file and then same it to the user's computer but I would stress that the kind of libraries you would need for your server already exist. 如果您使用AIR来运行Flex应用程序,则可以编写一个库来创建PDF文件,然后将其与用户计算机相同,但是我要强调的是,服务器所需的那种库已经存在。 For example: http://php.net/pdf 例如: http : //php.net/pdf

Report tends to be a rather generic term and as the other responder indicated that it meant PDF to him/her. 报告往往是一个相当笼统的术语,正如另一位响应者指出的那样,报告对他/她而言意味着PDF。 The application I am working on is very report heavy. 我正在处理的应用程序报告非常繁重。 We have a requirement for a client side report ("Think Report in Flex") and PDF version of the same report. 我们需要一个客户端报告(“ Think Report in Flex”)和同一报告的PDF版本。

When we originally looked 1yr back, there is no Report library that provides the equivalent of what lifecycle does on the server. 最初回顾1年时,没有提供与服务器生命周期等效的报告库。 Therefore we have had to build our own and it is based on a generic template mechanism. 因此,我们必须构建自己的应用程序,它是基于通用模板机制的。

So can it be done. 这样就可以了。 Yes. 是。 But I would recommend developing a generic means to render your reports and it is not a easy task if you want to keep it generic so you can create multiple type of reports. 但是我建议您开发一种通用的方法来呈现报告,如果要使其保持通用性,那么可以创建多种类型的报告,这并非易事。

Also, avoid the trap of nesting your reports through VBOX, HBOX and containers to provide a flexible layout system as it will not perform well. 另外,请避免通过VBOX,HBOX和容器嵌套报表的陷阱,以提供灵活的布局系统,因为它的效果不佳。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM