ICEfaces-EE ACE Components Tag dataExporter. Utility to export data from a datatable as an Excel, PDF, XML or CSV document. This component renders an . GitHub clone of SVN repo / (cloned by ). This repo is not updated anymore. Please. The problem was due to missing the dependency liferay-faceslsvpatch version ga5. It was fixed by adding.
|Published (Last):||13 April 2011|
|PDF File Size:||6.9 Mb|
|ePub File Size:||11.55 Mb|
|Price:||Free* [*Free Regsitration Required]|
I have a datatable with a single ice: The method specified must dataexproter an argument of type com. Triggers when the button is clicked or pressed by any other means.
If a table is using stacked columns, it won’t affect the results of the exporting action. On setClickToCreateFile method, the error message next is coming in the console: Below is the jspx code and attached is the output of the export No headers in output as well. Now I’m trying to export to excel. Custom CSS style class es to use for this component.
Source code of the class DataExporter part of icefaces-ace version
Their order of precedence are as follows: The style and styleClass attributes are passed thru to the style and class attributes of the root HTML button. This will take longer to package and usage is within Java right now since it The problem is the second time I try and export the same table but with different data. The problem was due to missing the dependency liferay-faceslsvpatch version 3. For the PDF format, this attribute is only applicable if a custom font is also specified via the ‘pdfFont’ attribute, and the encoding has to be supported by such font.
The default value is UTF I’d just like a dataExporter component code snippet to try it.
The absolute path in the host system e. Default value is iceDatExp. It can be modified dynamically. Sign up or log in Sign up using Google.
And it does not remove the files there after More components and HTML elements can be nested inside this tag datwexporter give a different look and feel to the button.
This is deprecated as of 1.
If there are 6 columns in the table and you want to add only 1st, 4th and 6th column to the generated output: Exclude DataTable columns in DataExporter? The pageOnly attribute exports only the current page being displayed in the table, when using pagination.
When using row expansion in the table, specify whether the child rows should be exported only if the parent row has been expanded by the user. If the selectedRowsOnly attribute is set to true, only the selected rows in the table will be included in the exported file. This component renders an HTML button element. Specifying a value for this attribute will have no effect. If the custom handler has been defined using the outputTypeHandler attribute then it will take percedence over this attribute.
Did you experience this behaviour? Sign up using Email and Password.
These style classes can be defined in your page or in a theme CSS file. Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. In IE7 this mechanism isn’t supported, instead a new pop-up window is open and the file is loaded there. Client Events Name Description Supported classes for argument activate Triggers when the icecaces is clicked or pressed by any other dataexpprter.
In order to support exporting files in PDF format, the iText library version 2. This value must be passed through as the “class” attribute on generated markup. Specify whether the columns should be exported according to the order established by the user in the client. The excludeColumns attribute accepts a comma-separated list iceraces column indexes zero-relative to be excluded from the exporting.