tags:

views:

286

answers:

2

Hello, I want to know if we can create reports using EXTJS. Thnx a lot

+1  A: 

No. You can't create reports with EXTJS. There are tools appropriate for reporting. All of them, server side.

Hope it helps.

Pablo Santa Cruz
You can create reports with any programming tool. Some are more appropriate than others. Sounds more like you are specifically talking about "generating reporting data"?
bmoeskau
Hello,thnx for your answers.@Pablo Santa Cruz : I used JasperReports for generating some data tables. But it's not really nice, like EXTJS grids, charts ... this is why.@bmoeskau : yes I want generate reporting data.
taichimaro
+1  A: 

If you simply mean that you want to format reporting data received from the server into visual charts or graphs (or tabular / grid format) the answer is yes. Look at the Ext.chart package in the documentation. Other than that, you'd have to provide some details on what you're trying to do.

EDIT: I'm still not 100% clear on what you're asking, but if you already have working grids and you want to display the same data in a different format for reporting, this is certainly possible. However, you would not use the grid directly, you would use the underlying Ext.data.Store and bind it to some other component that can output your report. The most obvious solution that comes to mind would be using a DataView to bind your existing store to a custom XTemplate that would generate your report view.

bmoeskau
Hello, thnx for your answer.I want to create reports from the charts or grids I created before in EXTJS, so that I can include them in a PDF report. Can you see what I want ???
taichimaro
Please see my edited answer.
bmoeskau