Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following is an example of a basic export_html.css file that will change the background colours for the table.

Code Block

table { background-color: #beccdd; }
tr.even { background-color: #ffffff; }
tr.odd { background-color: #deecfd; }

...

Code Block
xml
xml
linenumberstrue

	<item action="com.cohga.client.actions.menuAction">
		<text>Export</text>
		<iconCls>icon-database_go</iconCls>
		<item action="com.cohga.html.client.grid.exportAction">
			<text>CSV</text>
			<format>csv</format>
			<iconCls>icon-page_white_world</iconCls>
			<tooltip>
				<title>CSV</title>
				<text>Export the data to a comma separated text file</text>
			</tooltip>
		</item>
		<item action="com.cohga.html.client.grid.exportAction">
			<text>Excel</text>
			<format>excel</format>
			<iconCls>icon-page_white_excel</iconCls>
			<tooltip>
				<title>Excel</title>
				<text>Export the data to an Microsoft Excel spreadsheet</text>
			</tooltip>
		</item>
		<item action="com.cohga.html.client.grid.exportAction">
			<text>HTML</text>
			<format>html</format>
			<iconCls>icon-page_white_world</iconCls>
			<tooltip>
				<title>HTML</title>
				<text>Export the data to a HTML page</text>
			</tooltip>
		</item>
	</item>

...