1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('Pman.Dialog');
7 Pman.Dialog.CoreEmail = {
10 'e44b145bd8b49b06e0ad2ced1ad56466' :"Plain Text",
11 '2f26e35d61be90501e099089dc533638' :"Select Images",
12 'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
13 'b357b524e740bc85b9790a0712d84a30' :"Email address",
14 '962b90039a542a29cedd51d87a9f28a1' :"Html Editor",
15 '72d6d7a1885885bb55a565fd1070581a' :"Import",
16 'ea30b40c3caf28acb29198d20d243e54' :"Images / Attachments >>",
17 '31fde7b05ac8952dacf4af8a704074ec' :"Preview",
18 '884df8e413319ff51a3f5f528606238a' :"Use template",
19 'e6b391a8d2c4d45902a23a8b6585703d' :"URL",
20 '2393ad754ba179442d85e415d1d5167c' :"Displayorder",
21 '6f16a5f8ff5d75ab84c018adacdfcbb7' :"Field",
22 'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
23 'e9968623956c15023d54335ea3699855' :"Convert Html to Text",
24 '1243daf593fa297e07ab03bf06d925af' :"Searching...",
25 '5b8ef4e762c00a15a41cfc26dc3ef99c' :"Send me a test copy",
26 'c7892ebbb139886662c6f2fc8c450710' :"Subject",
27 'dc0de523c25be298ba751c63c694109e' :"Responsive Email (1)",
28 '396ecabf0cd1f9503e591418851ef406' :"Edit / Create Message",
29 'b9c49611cfda3259a2b837b39489e650' :"Add Image",
30 '44e7830e754c2e275ef6f658eafba13e' :"Test Class",
31 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
32 '68b00d723d37122f64da8d9939f836f0' :"BCC Group",
33 'c4ca4238a0b923820dcc509a6f75849b' :"1",
34 'bd88a20b53a47f7b5704a83a15ff5506' :"Saved Version",
35 'b20a8b77b05d53b4e695738731400c85' :"Mailout Name",
36 '1bd18d39370b7f26c1c5e18067b74c6f' :"Html File",
37 '2c466a2c159463f1d9ef5a7b57b52827' :"Select BCC Group",
38 '5da618e8e4b89c66fe86e32cdafde142' :"From",
39 '31bb2f6e9b8fb11cbb7fb63c6025223f' :"Select Template",
40 'b78a3223503896721cca1303f776159b' :"Title",
41 '278c491bdd8a53618c149c4ac790da34' :"Template",
42 '1351017ac6423911223bc19a8cb7c653' :"Filename",
43 '308f2757bfc9ce92fb00ff93fdffd279' :"Images / Attachments",
44 'c9cc8cce247e49bae79f15173ce97354' :"Save",
45 '5feb9bf3c03b32635135006cbacb9542' :"Insert Field",
46 '4c2a8fe7eaf24721cc7a9f0175115bd4' :"Message",
47 'fff0d600f8a0b5e19e88bfb821dd1157' :"Images"
53 show : function(data, cb)
61 this.dialog.show(this.data._el);
64 this.form.setValues(data);
65 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
73 this.dialog = Roo.factory({
79 title : _this._strings['396ecabf0cd1f9503e591418851ef406'] /* Edit / Create Message */,
83 xtype : 'LayoutDialog',
85 show : function (_self)
88 _self.layout.getRegion('center').showPanel(0);
89 var w = Roo.lib.Dom.getViewWidth();
\r
90 var h = Roo.lib.Dom.getViewHeight();
\r this.resizeTo(w-50, h-50);
\r
92 var ew = Math.max(250, w-320);
\r
93 var eh = Math.max(250, h-350) ;
\r
94 var e = _this.dialog.layout.getRegion('east');
99 var el = _self.getEl();
100 var elw = el.dom.clientWidth;
102 var bdtext = _this.form.findField('bodytext');
103 var ptext = _this.form.findField('plaintext');
105 bdtext.width = elw-100;
106 bdtext.resizeEl.resizeTo.defer(110, bdtext.resizeEl,[ bdtext.width, bdtext.height ] );
107 ptext.setSize(bdtext.width , bdtext.height);
116 xtype : 'LayoutRegion'
121 title : _this._strings['308f2757bfc9ce92fb00ff93fdffd279'] /* Images / Attachments */,
126 xtype : 'LayoutRegion'
130 text : _this._strings['31fde7b05ac8952dacf4af8a704074ec'] /* Preview */,
135 click : function (_self, e)
137 //_this.dialog.hide();
138 Roo.log(_this.data.module);
139 Pman.Dialog.CoreEmailPreview.show({ id : _this.form.findField('id').getValue(), module : _this.data.module });
141 render : function (_self)
143 _this.preview_btn = _self;
148 text : _this._strings['5b8ef4e762c00a15a41cfc26dc3ef99c'] /* Send me a test copy */,
153 click : function (_self, e)
155 //_this.dialog.hide();
157 var id = _this.form.findField('id').getValue();
160 Roo.MessageBox.alert('Error', 'Please save the message frist!');
165 url : baseURL + '/Core/MessagePreview',
170 _table : _this.data.module
172 success : function(res) {
173 if(res.data == 'SUCCESS'){
174 Roo.MessageBox.alert("Email Sent", 'The report was sent to your email (HTML format).');
179 render : function (_self)
181 _this.html_preview = _self;
186 text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
191 click : function (_self, e)
198 text : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
203 click : function (_self, e)
207 _this.form.preValidate(function(res) {
211 _this.form.doAction("submit");
226 xtype : 'NestedLayoutPanel',
233 text : _this._strings['72d6d7a1885885bb55a565fd1070581a'] /* Import */,
235 '|xns' : 'Roo.Toolbar',
243 text : _this._strings['e6b391a8d2c4d45902a23a8b6585703d'] /* URL */,
248 click : function (_self, e)
250 Pman.Dialog.CoreImportUrl.show({
251 target : '/Core/ImportMailMessage.php'
255 _this.form.findField('bodytext').setValue(data);
262 text : _this._strings['1bd18d39370b7f26c1c5e18067b74c6f'] /* Html File */,
267 click : function (_self, e)
269 Pman.Dialog.Image.show({
270 _url : baseURL + '/Core/ImportMailMessage.php'
273 _this.form.findField('bodytext').setValue(data);
283 text : _this._strings['884df8e413319ff51a3f5f528606238a'] /* Use template */,
285 '|xns' : 'Roo.Toolbar',
293 text : _this._strings['dc0de523c25be298ba751c63c694109e'] /* Responsive Email (1) */,
298 click : function (_self, e)
301 var l = document.location;
304 url : baseURL + '/Core/ImportMailMessage.php',
309 importUrl : l.protocol +'//' + l.host + rootURL + '/Pman/Crm/mail_templates/responsive1.html'
311 success : function (res) {
313 _this.form.findField('bodytext').setValue(res.data);
326 displayField : 'file',
328 emptyText : _this._strings['31bb2f6e9b8fb11cbb7fb63c6025223f'] /* Select Template */,
329 fieldLabel : _this._strings['278c491bdd8a53618c149c4ac790da34'] /* Template */,
330 forceSelection : true,
331 hiddenName : 'template',
333 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
337 qtip : _this._strings['31bb2f6e9b8fb11cbb7fb63c6025223f'] /* Select Template */,
338 selectOnFocus : true,
339 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{file}</b> </div>',
340 triggerAction : 'all',
348 select : function (combo, record, index)
359 _this.form.findField('bodytext').setValue(record.data.content);
365 sortInfo : { direction : 'DESC', field: 'file' },
370 beforeload : function (_self, o){
371 o.params = o.params || {};
378 url : baseURL + '/Core/MailTemplateList.php',
384 fields : [{"name":"file","type":"string"},{"name":"content","type":"string"}],
387 totalProperty : 'total',
396 '|xns' : 'Roo.Toolbar',
400 text : _this._strings['ea30b40c3caf28acb29198d20d243e54'] /* Images / Attachments >> */,
402 '|xns' : 'Roo.Toolbar',
405 click : function (_self, e)
407 var el = _this.dialog.layout.getRegion('east');
423 xtype : 'BorderLayout',
428 xtype : 'LayoutRegion'
437 title : _this._strings['4c2a8fe7eaf24721cc7a9f0175115bd4'] /* Message */,
440 xtype : 'ContentPanel',
442 render : function (_self, width, height)
445 Roo.log("RESIZE, " + width + ',' + height);
447 var ew = Math.max(250, width-50);
448 var eh = Math.max(250,height-50) ;
453 resize : function (_self, width, height)
\r
455 var ew = Math.max(250, width-50);
\r
456 var eh = Math.max(250,height-50) ;
461 var bdtext = _this.form.findField('bodytext');
\r
462 var ptext = _this.form.findField('plaintext');
\r
463 if(bdtext.resizeEl){
\r
464 bdtext.width = ew-50;
\r
465 bdtext.resizeEl.resizeTo.defer(110, bdtext.resizeEl,[ bdtext.width, bdtext.height ] );
\r
466 ptext.setSize(bdtext.width , bdtext.height);
\r
473 labelAlign : 'right',
476 preValidate : function(done_callback) {
478 Roo.MessageBox.progress("Uploading Images", "Uploading");
480 if(!_this.form.findField('bodytext').editorcore.sourceEditMode){
481 _this.form.findField('bodytext').syncValue();
483 _this.form.findField('bodytext').pushValue();
486 var html = _this.form.findField('bodytext').getValue();
488 var s = Roo.get(_this.form.findField('bodytext').editorcore.doc.documentElement);
490 var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
493 s.select('img[src]').each(function(i) {
496 var total = nodes.length;
497 var mkimg = function() {
500 Roo.MessageBox.hide();
501 _this.form.findField('bodytext').syncValue();
503 // _this.form.doAction("submit");
508 var n = i.getAttribute('src').match(/(baseURL|server_baseurl)/);
515 n = i.getAttribute('src').match(/^http(.*)/);
523 url : baseURL + '/Roo/Images.php',
526 onid : _this.form.findField('id').getValue(),
528 _remote_upload : i.src
530 success : function(res){
531 if(res.success == true){
532 i.setAttribute('src', res.data);
533 Roo.MessageBox.updateProgress( (total - nodes.length) / total , "Done " + (total - nodes.length) + '/' + total);
542 style : 'margin:10px',
543 url : baseURL + '/Roo/crm_mailing_list_message.php',
548 actioncomplete : function(_self,action)
551 if (action.type == 'setdata') {
553 setInterval(_this.form.findField('bodytext').autosave, 5000);
555 _this.data.module = _this.data.module || 'crm_mailing_list_message';
557 _this.form.url = baseURL + '/Roo/' + _this.data.module;
559 _this.html_preview.hide();
560 _this.preview_btn.hide();
562 if(_this.data.id*1 > 0){
563 _this.dialog.el.mask("Loading");
564 this.load({ method: 'GET', params: { '_id' : _this.data.id }});
565 _this.html_preview.show();
566 _this.preview_btn.show();
569 _this.form.setValues({
570 'from_name' : Pman.Login.authUser.name,
571 'from_email' : Pman.Login.authUser.email
576 if (action.type == 'load') {
577 _this.dialog.el.unmask();
579 _this.form.findField('bodytext').originalValue = _this.form.findField('bodytext').getValue();
583 if (action.type =='submit') {
585 _this.dialog.el.unmask();
588 if (_this.callback) {
589 _this.callback.call(_this, action.result.data);
595 rendered : function (form)
608 fieldLabel : _this._strings['b20a8b77b05d53b4e695738731400c85'] /* Mailout Name */,
622 boxLabel : 'Enabled - will be sent out',
631 check : function (_self, checked)
633 var boxLabel = 'Enabled - will be sent out';
636 boxLabel = 'Disabled - will NOT be sent out';
639 this.setBoxLabel(boxLabel);
654 fieldLabel : _this._strings['5da618e8e4b89c66fe86e32cdafde142'] /* From */,
663 fieldLabel : _this._strings['b357b524e740bc85b9790a0712d84a30'] /* Email address */,
673 displayField : 'name',
675 emptyText : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
676 fieldLabel : _this._strings['68b00d723d37122f64da8d9939f836f0'] /* BCC Group */,
677 forceSelection : true,
678 hiddenName : 'bcc_group',
679 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
681 name : 'bcc_group_name',
683 qtip : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
684 selectOnFocus : true,
685 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
686 triggerAction : 'all',
695 sortInfo : { direction : 'ASC', field: 'name' },
700 beforeload : function (_self, o){
701 o.params = o.params || {};
703 o.params._direct_return = 1;
708 url : baseURL + '/Roo/Groups',
714 fields : [{"name":"name","type":"string"},{"name":"id","type":"int"}],
717 totalProperty : 'total',
726 fieldLabel : _this._strings['44e7830e754c2e275ef6f658eafba13e'] /* Test Class */,
737 fieldLabel : _this._strings['c7892ebbb139886662c6f2fc8c450710'] /* Subject */,
752 legend : _this._strings['962b90039a542a29cedd51d87a9f28a1'] /* Html Editor */,
753 style : 'text-align:center;',
759 autosave : function() {
761 var body = _this.form.findField('bodytext');
763 if(!body.wrap.isVisible(true) || body.getValue() == '' || !body.isDirty()){
764 Roo.log('body not dirty');
768 Roo.log('body dirty, auto save!');
770 body.fireEvent('autosave', body);
817 xtype : 'HtmlEditor',
819 autosave : function (_self)
823 var id = _this.form.findField('id').getValue() * 1;
826 if(!_self.editorcore.sourceEditMode){
834 url : baseURL + '/Roo/Events.php',
839 on_id : (id > 0) ? id : 0,
840 on_table : 'crm_mailing_list_message',
842 source: _self.getValue()
844 success : function() {
845 _self.originalValue = _self.getValue();
850 Roo.log('body autosave failed?!');
855 savedpreview : function (_self)
857 var id = _this.form.findField('id').getValue() * 1;
859 var successFn = function(res){
860 return res.data.POST.source;
866 on_id : (id < 1) ? 0 : id,
867 on_table : 'crm_mailing_list_message',
868 successFn : successFn
872 Pman.Dialog.CoreAutoSavePreview.show(params, function(res){
874 _self.originalValue = res;
880 xns : Roo.form.HtmlEditor,
881 '|xns' : 'Roo.form.HtmlEditor',
882 xtype : 'ToolbarContext'
885 xns : Roo.form.HtmlEditor,
886 '|xns' : 'Roo.form.HtmlEditor',
887 xtype : 'ToolbarStandard',
891 displayField : 'name',
893 emptyText : _this._strings['b9c49611cfda3259a2b837b39489e650'] /* Add Image */,
894 fieldLabel : _this._strings['fff0d600f8a0b5e19e88bfb821dd1157'] /* Images */,
895 forceSelection : true,
897 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
900 qtip : _this._strings['2f26e35d61be90501e099089dc533638'] /* Select Images */,
901 selectOnFocus : true,
902 tpl : '<div class=\"x-grid-cell-text x-btn button\"><img src=\"{public_baseURL}/Core/Images/Thumb/150x150/{id}.jpg\" height=\"150\" width=\"150\"><b>{filename}</b> </div>',
903 triggerAction : 'all',
911 beforequery : function (combo, query, forceAll, cancel, e)
913 var id = _this.form.findField('id').getValue() * 1;
915 Roo.MessageBox.alert("Error", "Save message first");
919 render : function (_self)
921 _this.extendimgselect = _self;
923 select : function (combo, record, index)
929 var editor = _this.form.findField('bodytext').editorcore;
931 var curnode = editor.getSelectedNode();
932 if (curnode && curnode.tagName == 'IMG') {
933 curnode.src= String.format('{0}/Images/{1}/{2}#image-{1}',
934 baseURL, record.data.id, record.data.filename
936 // note -forces an update... hopefully...
937 editor.owner.fireEvent('editorevent', editor, false);
940 editor.insertAtCursor(
941 String.format('<img src="{0}/Images/{1}/{2}#image-{1}">',
942 baseURL, record.data.id, record.data.filename
952 sortInfo : { direction : 'ASC', field: 'id' },
957 beforeload : function (_self, o){
958 o.params = o.params || {};
960 var id = _this.form.findField('id').getValue() * 1;
962 Roo.MessageBox.alert("Error", "Save email template first");
966 o.params.ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
968 // o.params.imgtype = 'PressRelease';
969 //o.params['query[imagesize]'] = '150x150';
975 url : baseURL + '/Roo/Images.php',
981 fields : [{"name":"id","type":"int"},{"name":"filename","type":"string"},{"name":"url_thumb","type":"string"}],
984 totalProperty : 'total',
993 displayField : 'name',
995 emptyText : _this._strings['5feb9bf3c03b32635135006cbacb9542'] /* Insert Field */,
996 fieldLabel : _this._strings['6f16a5f8ff5d75ab84c018adacdfcbb7'] /* Field */,
997 forceSelection : true,
999 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
1002 qtip : _this._strings['5feb9bf3c03b32635135006cbacb9542'] /* Insert Field */,
1003 selectOnFocus : true,
1004 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
1005 triggerAction : 'all',
1007 valueField : 'type',
1010 '|xns' : 'Roo.form',
1013 render : function (_self)
1015 _this.unsubscribeselect = _self;
1017 select : function (combo, record, index)
1023 var editor = _this.form.findField('bodytext').editorcore;
1025 if(record.data.name == 'Unsubscribe'){
1026 editor.insertAtCursor(
1027 String.format('<a href="{0}">{1}</a>',
1028 record.data.type, record.data.name
1034 editor.insertAtCursor(
1035 String.format('{0}',
1044 [ '{person.firstname}', "First Name"],
1045 [ '{person.lastname}' , "Last Name"],
1046 [ '{person.name}', "Full Name"],
1047 [ '#unsubscribe', "Unsubscribe"]
1049 fields : [ 'type', 'name'],
1051 '|xns' : 'Roo.data',
1052 xtype : 'SimpleStore'
1057 '|xns' : 'Roo.Toolbar',
1061 cls : 'x-init-enable',
1062 text : _this._strings['bd88a20b53a47f7b5704a83a15ff5506'] /* Saved Version */,
1064 '|xns' : 'Roo.Toolbar',
1067 click : function (_self, e)
1069 this.scope.owner.fireEvent('savedpreview', this.scope.owner);
1085 '|xns' : 'Roo.form',
1089 text : _this._strings['e9968623956c15023d54335ea3699855'] /* Convert Html to Text */,
1094 click : function (_self, e)
1096 var h = _this.form.findField('bodytext').getValue();
1097 var p = _this.form.findField('plaintext');
1099 new Pman.Request({
\r
1100 url : baseURL + '/Core/ImportMailMessage.php',
\r
1104 _convertToPlain : true,
1105 _check_unsubscribe : true
\r
1107 success : function(res) {
\r
1108 if(res.success == true){
1109 p.setValue(res.data);
1122 '|xns' : 'Roo.form',
1127 legend : _this._strings['e44b145bd8b49b06e0ad2ced1ad56466'] /* Plain Text */,
1128 style : 'text-align:center;',
1130 '|xns' : 'Roo.form',
1137 '|xns' : 'Roo.form',
1147 '|xns' : 'Roo.form',
1160 fitContainer : true,
1163 tableName : 'Images',
1164 title : _this._strings['308f2757bfc9ce92fb00ff93fdffd279'] /* Images / Attachments */,
1167 xtype : 'GridPanel',
1169 activate : function() {
1170 _this.ipanel = this;
1172 _this.igrid.ds.load({});
1177 autoExpandColumn : 'filename',
1180 '|xns' : 'Roo.grid',
1186 //_this.dialog = Pman.Dialog.FILL_IN
1187 if (_this.ipanel.active) {
1188 // _this.igrid.ds.load({});
1198 cls : 'x-btn-text-icon',
1199 icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
1200 text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
1202 '|xns' : 'Roo.Toolbar',
1207 var id = _this.form.findField('id').getValue();
1210 Roo.MessageBox.alert('Error', 'Please save the email template first');
1214 var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
1216 Pman.Dialog.Image.show( { id : 0, onid: id, ontable: ontable }, function() {
1217 _this.igrid.getDataSource().load({});
1223 cls : 'x-btn-text-icon',
1224 icon : rootURL + '/Pman/templates/images/trash.gif',
1225 text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
1227 '|xns' : 'Roo.Toolbar',
1232 var s = _this.igrid.getSelectionModel().getSelected();
1233 if (!s || isNaN(s.id *1)) {
1234 Roo.MessageBox.alert("Error", "Select a image");
1237 Roo.MessageBox.confirm("Confirm", "Are sure you want to delete this image?", function (v){
1243 url : baseURL + '/Roo/Images.php',
1248 success : function()
1250 Roo.log('Got Success!!');
1251 _this.igrid.ds.load({});
1262 sortInfo : { field : 'filename', direction: 'ASC' },
1264 '|xns' : 'Roo.data',
1267 beforeload : function (_self, options)
1269 options.params = options.params || {};
1270 if (typeof(_this.data) == 'undefined') {
1273 if(_this.data.id * 1 >= 0)
1275 options.params.onid = _this.data.id;
1277 options.params.ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
1283 url : baseURL + '/Roo/Images.php',
1285 '|xns' : 'Roo.data',
1323 'name': 'displayorder',
1331 'name': 'parent_image_id',
1337 'dateFormat': 'Y-m-d'
1356 'name': 'parent_image_id_id',
1360 'name': 'parent_image_id_filename',
1364 'name': 'parent_image_id_ontable',
1368 'name': 'parent_image_id_onid',
1372 'name': 'parent_image_id_mimetype',
1376 'name': 'parent_image_id_width',
1380 'name': 'parent_image_id_height',
1384 'name': 'parent_image_id_filesize',
1388 'name': 'parent_image_id_displayorder',
1392 'name': 'parent_image_id_language',
1396 'name': 'parent_image_id_parent_image_id',
1400 'name': 'parent_image_id_created',
1404 'name': 'parent_image_id_imgtype',
1408 'name': 'parent_image_id_linkurl',
1412 'name': 'parent_image_id_descript',
1416 'name': 'parent_image_id_title',
1422 totalProperty : 'total',
1424 '|xns' : 'Roo.data',
1425 xtype : 'JsonReader'
1430 dataIndex : 'filename',
1431 header : _this._strings['1351017ac6423911223bc19a8cb7c653'] /* Filename */,
1432 renderer : function(v,x,r)
1434 var width = r.data.width;
1435 var height = r.data.height;
1438 height = Math.round(height * 50 / width);
1442 return '<img src="' + baseURL + '/Images/' + r.data.id + '/' + r.data.filename + '" width="' + width + '" height="' + height + '" />';
1446 '|xns' : 'Roo.grid',
1447 xtype : 'ColumnModel'
1450 dataIndex : 'displayorder',
1451 header : _this._strings['2393ad754ba179442d85e415d1d5167c'] /* Displayorder */,
1452 renderer : function(v) { return String.format('{0}', v); },
1455 '|xns' : 'Roo.grid',
1456 xtype : 'ColumnModel'
1459 dataIndex : 'title',
1460 header : _this._strings['b78a3223503896721cca1303f776159b'] /* Title */,
1461 renderer : function(v) { return String.format('{0}', v); },
1464 '|xns' : 'Roo.grid',
1465 xtype : 'ColumnModel'