Skip to content
Snippets Groups Projects
Commit 25de508c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

The App.grid.plugin.Export is fully running.

parent 51ffb206
No related branches found
No related tags found
No related merge requests found
--------------------------------- CHANGE LOG ----------------------------------
HEAD
- Add the plugin App.grid.plugin.Export
0.6.1.7 (Sep 2014)
- Use inline script and Ext.grid.Panel to display software versions
......
......@@ -4,7 +4,7 @@
*
* A context menu gives access to the different possibilities.
*
* @since 0.6.1.7
* @since 0.6.1.8
*
*/
Ext.define('App.grid.plugin.Export', {
......@@ -316,6 +316,7 @@ Ext.define('App.grid.plugin.Export', {
// table header
if (! header.hidden) {
lines.push(header.labels.join(' & ') + ' \\\\');
lines.push('\\hline\\hline');
}
// table content
......@@ -332,6 +333,7 @@ Ext.define('App.grid.plugin.Export', {
if (div) {
cmd = '\\multicolumn{' + nColumns + '}{l}{' + div.dom.textContent + '} \\\\';
lines.push(cmd);
lines.push('\\hline');
}
} else if (trEl.hasCls("x-grid-data-row") || trEl.hasCls("x-grid-row-summary")) {
......@@ -356,6 +358,7 @@ Ext.define('App.grid.plugin.Export', {
// push the grand total at the end
if (total) {
lines.push('\\hline\\hline');
lines.push(total);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment