"items" : [
{
"region" : "center",
- "title" : "Email Template",
"xtype" : "NestedLayoutPanel",
+ "title" : "Email Template",
"$ xns" : "Roo",
"items" : [
{
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
},
+ "region" : "center",
"fitToframe" : true,
"background" : true,
- "region" : "center",
"title" : "core_email",
"xtype" : "GridPanel",
"fitContainer" : true,
"items" : [
{
"$ url" : "baseURL + '/Roo/Core_email.php'",
- "method" : "GET",
"xtype" : "HttpProxy",
+ "method" : "GET",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
"items" : [
{
"listeners" : {
- "|click" : "function()\n{\n \nnew Pman.Download({\n url : baseURL + '/Roo/Core_email',\n method : 'GET',\n params : {\n csvCols : '*',\n csvTitles : '*',\n }\n});\nRoo.MessageBox.alert(\"Notice\", \"Should be downloading now\");\n \n}\n"
+ "|click" : "function()\n{\n \nnew Pman.Download({\n url : baseURL + '/Roo/Core_email',\n method : 'GET',\n params : {\n csvCols : '*',\n csvTitles : '*'\n }\n});\nRoo.MessageBox.alert(\"Notice\", \"Should be downloading now\");\n \n}\n"
},
"text" : "Download to Excel",
"xtype" : "Button",
},
{
"xtype" : "ColumnModel",
- "width" : 250,
"header" : "Name",
+ "width" : 250,
"$ renderer" : "function(v) { return String.format('{0}', v); }",
"$ xns" : "Roo.grid",
"Boolean sortable" : true,
},
{
"xtype" : "ColumnModel",
- "width" : 300,
"header" : "Title",
+ "width" : 300,
"$ renderer" : "function(v) { return String.format('{0}', v); }",
"$ xns" : "Roo.grid",
"Boolean sortable" : true,
},
{
"xtype" : "ColumnModel",
- "width" : 400,
"header" : "From Name",
+ "width" : 400,
"$ renderer" : "function(v) { return String.format('{0}', v); }",
"$ xns" : "Roo.grid",
"Boolean sortable" : true,
},
{
"xtype" : "ColumnModel",
- "width" : 400,
"header" : "From Email",
+ "width" : 400,
"$ renderer" : "function(v) { return String.format('{0}', v); }",
"$ xns" : "Roo.grid",
"Boolean sortable" : true,
"render" : "function (_self)\n{\n _this.viewPanel = _self;\n}"
},
"autoScroll" : true,
- "fitToFrame" : true,
"background" : false,
+ "fitToFrame" : true,
"region" : "south",
"title" : "View Message",
"xtype" : "ContentPanel",
"items" : [
{
"$ url" : "baseURL+'/Roo/Core_email.php'",
- "method" : "GET",
"xtype" : "HttpProxy",
+ "method" : "GET",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},