forked from iwiznia/Ext.ux.Exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ported to work with Exjs 4. Changed names to follow convention and us…
…e the class loading system. Fixed error when grid have an actions column. Also modified the button to allow auto detection of component it exports. Not tested with trees.
- Loading branch information
Ionatan Wiznia
committed
Jun 8, 2011
1 parent
71e60b8
commit 71cc1dc
Showing
13 changed files
with
280 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* @class Ext.ux.Exporter.ExcelFormatter.Cell | ||
* @extends Object | ||
* Represents a single cell in a worksheet | ||
*/ | ||
|
||
Ext.define("Ext.ux.exporter.excelFormatter.Cell", { | ||
constructor: function(config) { | ||
Ext.applyIf(config, { | ||
type: "String" | ||
}); | ||
|
||
Ext.apply(this, config); | ||
|
||
Ext.ux.exporter.excelFormatter.Cell.superclass.constructor.apply(this, arguments); | ||
}, | ||
|
||
render: function() { | ||
return this.tpl.apply(this); | ||
}, | ||
|
||
tpl: new Ext.XTemplate( | ||
'<ss:Cell ss:StyleID="{style}">', | ||
'<ss:Data ss:Type="{type}"><![CDATA[{value}]]></ss:Data>', | ||
'</ss:Cell>' | ||
) | ||
}); |
Oops, something went wrong.