Can we create reports using EXTJS? - extjs

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

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 View (previously DataView) to bind your existing store to a custom XTemplate that would generate your report view.

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

You can use a CSS with "media='print'" like this:
< link rel="stylesheet" type="text/css" href="css/print.css" media="print">
This CSS will be used by the browser only when the user are trying to print the page. Then, you can change the entire style of the page to look like a report.

This is a server side job. Here is what I use for generating tabular reports which are based on Grid data: http://xmlgraphics.apache.org/fop/
Also, you can generate a very nice, fully functional Excel spreadsheet from tabular data: http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx

Related

How to create behaviour flow charts?

Do you know any way for creating Behaviour flow charts like those used in google analytics?
ie:
I'd like to report the behavior of objects along their lifecycle.
Thanks a lot!
You can try to find existing custom visual that does that, for example here.
If there are none, your only option is to develop your own.
Many PowerBI visuals use D3 engine, so you may have luck in utilising an existing D3 visual, for example this one .

Embedding Image Editor in ADF page

My requirement is that I shall be able to render an image in ADF page as well as can scale the rendered image, edit it, rotate in as necessary.
Does ORACLE ADF gives me out of the box support for that.
Note: I want to use something like this for image editing
http://jdevadf.oracle.com/adf-richclient-demo/faces/components/hierarchyViewer.jspx#%2Fcomponents%2FrichTextEditor.jspx
There is nothing like that in ADF.
You'll have to write your own component using a lot of Javascript to handle all that functionality.
There is nothing like that in ADF.
BUT you can use one of numerous jQuery plugins to address your needs.

Is there a centric stylish approach like CSS for reporting services?

Hi i been googling around and couldn't found any answer or approach to this issue, what i would like to accomplish is to hanlde all the styles, colors font sizes, etc from one place kinda like css does with html, been trying with microsoft tutorials but i don't see they cover this point in a satisfactory way, may the technology doesn't cover it at all...
Any thoughts?
In SSRS 2005 if all your reports are going to be similar you could create your own template. This would take most of the workout of the initial set-up as you can make a template with the style you need in (headers, footers, datatable etc).
http://weblogs.sqlteam.com/jhermiz/archive/2007/08/14/60283.aspx
You can also create templates in SSRS 2008 along with style templates which are XML files containing pre-defined styles.
http://blogs.microsoft.co.il/blogs/yanivy/archive/2010/08/03/create-custom-templates-and-styles-for-ssrs-2008.aspx

Identifying Silverlight at server side

What I have?
I have a web part on which I am displaying a hierarchical diagram picking the information from a List. The diagram is drawn using Silverlight and HTML.
What I want to do?
I want to show Silverlight diagram if Silverlight is installed on the client machine otherwise I want to show HTML diagram.
What problem am I facing?
I want to check if Silverlight is installed or not on the server side and render the appropriate diagram. Basically, I don't want to use JavaScript to identify it and do a unnecessary post back for loading the diagram.
Is it possible to achieve this on the server side?
Thanks for your time!
You could give this a try:
<asp:Silverlight runat="server" ID="SilverlightControl"
Source="~/Control.xap" Windowless="true">
<PluginNotInstalledTemplate>
<!-- here go your HTML fallback content -->
</PluginNotInstalledTemplate>
</asp:Silverlight>
Of course, this can be translated to a <OBJECT> element, if you're not using ASP.NET
Strictly speaking, it isn't possible. You have no access to the client side other than through the HTTP cycle and consequently, you need a client side mechanism of returning this information, i.e. something like JavaScript.
What you could do though, is position the diagram with CSS and position the Silverlight over the top (again using CSS) if it's present. To be honest though, this would have as much overhead as the roundtrip would as you'd always be loading the data twice. If you require Silverlight to display the diagram, then simply make it a requirement that the user must install Silverlight to view it - after all, you'd expect them to load Flash if they wanted to view a Flash image.
I am not sure, but I don't think it is possible. There is nothing in the browser string which identifies silverlight support. Anyway, the additional fetch of the silverlight will not typically be very expensive if you are using HTTP 1.1.

SQL Server Reporting Services Custom Page Layouts

Would it be possible to define layouts depending on the report type? ie. The layout size for PDFs would be different from the web layout.
Let's say we publish the report to the web. The user has the option of exporting this custom report to PDF. We want to be able to specify how the report should look like when exported to PDF.
The layout has to be defined before the report is even rendered. The report has no advance knowledge of what form it is going to take when exported.
My advice is to either:
Create two separate reports with separate layouts depending on whether it is to become a PDF or a Webpage.
Tweak your layout so it will export nicely to both formats.

Resources