The export action for the grid panel allows the user to save data in the grid to a number of different formats.
The formats supported by this tool are all provided by separate plugins. Formats could be HTML, CSV, Excel etc, GeoPackage etc. based on available plugins.
...
com.cohga.html.client.grid.exportGridAction
or weave.grid.exportgriddata
Properties
nameName | descriptionDescription | ||
---|---|---|---|
text | The label to display to the user. | ||
iconCls | The id of an icon to display for the export item. | format | The format to export the data in, this must correspond to one of the supported formats based on the installed plugins, currently 'html', 'excel' or 'csv'. |
tooltip | This will change the tooltip display and should contain title and text properties. | ||
welcome | Text that displayed in the starting card of the wizard. Use a CDATA section if the the text content is HTML. | ||
license | Text that displayed in the license card of the wizard. Use a CDATA section if the the text content is HTML. |
Examples
Code Block | ||
---|---|---|
| ||
<item action="com.cohga.html.client.grid.exportGridAction"> <welcome><![CDATA[This is the text to be displayed on the <b>first</b> wizard screen]]></welcome> <license><![CDATA[These are the terms and contitions that you <b>must</b> agree to before downloading this data.<br/>Further information will be contained within the generated content.]]></license> </item> |