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!');
164 Roo.log(_this.data);return;
167 url : baseURL + '/Core/MessagePreview',
172 _table : _this.data.module
174 success : function(res) {
175 if(res.data == 'SUCCESS'){
176 Roo.MessageBox.alert("Email Sent", 'The report was sent to your email (HTML format).');
181 render : function (_self)
183 _this.html_preview = _self;
188 text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
193 click : function (_self, e)
200 text : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
205 click : function (_self, e)
209 _this.form.preValidate(function(res) {
213 _this.form.doAction("submit");
228 xtype : 'NestedLayoutPanel',
235 text : _this._strings['72d6d7a1885885bb55a565fd1070581a'] /* Import */,
237 '|xns' : 'Roo.Toolbar',
245 text : _this._strings['e6b391a8d2c4d45902a23a8b6585703d'] /* URL */,
250 click : function (_self, e)
252 Pman.Dialog.CoreImportUrl.show({
253 target : '/Core/ImportMailMessage.php'
257 _this.form.findField('bodytext').setValue(data);
264 text : _this._strings['1bd18d39370b7f26c1c5e18067b74c6f'] /* Html File */,
269 click : function (_self, e)
271 Pman.Dialog.Image.show({
272 _url : baseURL + '/Core/ImportMailMessage.php'
275 _this.form.findField('bodytext').setValue(data);
285 text : _this._strings['884df8e413319ff51a3f5f528606238a'] /* Use template */,
287 '|xns' : 'Roo.Toolbar',
295 text : _this._strings['dc0de523c25be298ba751c63c694109e'] /* Responsive Email (1) */,
300 click : function (_self, e)
303 var l = document.location;
306 url : baseURL + '/Core/ImportMailMessage.php',
311 importUrl : l.protocol +'//' + l.host + rootURL + '/Pman/Crm/mail_templates/responsive1.html'
313 success : function (res) {
315 _this.form.findField('bodytext').setValue(res.data);
328 displayField : 'file',
330 emptyText : _this._strings['31bb2f6e9b8fb11cbb7fb63c6025223f'] /* Select Template */,
331 fieldLabel : _this._strings['278c491bdd8a53618c149c4ac790da34'] /* Template */,
332 forceSelection : true,
333 hiddenName : 'template',
335 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
339 qtip : _this._strings['31bb2f6e9b8fb11cbb7fb63c6025223f'] /* Select Template */,
340 selectOnFocus : true,
341 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{file}</b> </div>',
342 triggerAction : 'all',
350 select : function (combo, record, index)
361 _this.form.findField('bodytext').setValue(record.data.content);
367 sortInfo : { direction : 'DESC', field: 'file' },
372 beforeload : function (_self, o){
373 o.params = o.params || {};
380 url : baseURL + '/Core/MailTemplateList.php',
386 fields : [{"name":"file","type":"string"},{"name":"content","type":"string"}],
389 totalProperty : 'total',
398 '|xns' : 'Roo.Toolbar',
402 text : _this._strings['ea30b40c3caf28acb29198d20d243e54'] /* Images / Attachments >> */,
404 '|xns' : 'Roo.Toolbar',
407 click : function (_self, e)
409 var el = _this.dialog.layout.getRegion('east');
425 xtype : 'BorderLayout',
430 xtype : 'LayoutRegion'
439 title : _this._strings['4c2a8fe7eaf24721cc7a9f0175115bd4'] /* Message */,
442 xtype : 'ContentPanel',
444 render : function (_self, width, height)
447 Roo.log("RESIZE, " + width + ',' + height);
449 var ew = Math.max(250, width-50);
450 var eh = Math.max(250,height-50) ;
455 resize : function (_self, width, height)
\r
457 var ew = Math.max(250, width-50);
\r
458 var eh = Math.max(250,height-50) ;
463 var bdtext = _this.form.findField('bodytext');
\r
464 var ptext = _this.form.findField('plaintext');
\r
465 if(bdtext.resizeEl){
\r
466 bdtext.width = ew-50;
\r
467 bdtext.resizeEl.resizeTo.defer(110, bdtext.resizeEl,[ bdtext.width, bdtext.height ] );
\r
468 ptext.setSize(bdtext.width , bdtext.height);
\r
475 labelAlign : 'right',
478 preValidate : function(done_callback) {
480 Roo.MessageBox.progress("Uploading Images", "Uploading");
482 if(!_this.form.findField('bodytext').editorcore.sourceEditMode){
483 _this.form.findField('bodytext').syncValue();
485 _this.form.findField('bodytext').pushValue();
488 var html = _this.form.findField('bodytext').getValue();
490 var s = Roo.get(_this.form.findField('bodytext').editorcore.doc.documentElement);
492 var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
495 s.select('img[src]').each(function(i) {
498 var total = nodes.length;
499 var mkimg = function() {
502 Roo.MessageBox.hide();
503 _this.form.findField('bodytext').syncValue();
505 // _this.form.doAction("submit");
510 var n = i.getAttribute('src').match(/(baseURL|server_baseurl)/);
517 n = i.getAttribute('src').match(/^http(.*)/);
525 url : baseURL + '/Roo/Images.php',
528 onid : _this.form.findField('id').getValue(),
530 _remote_upload : i.src
532 success : function(res){
533 if(res.success == true){
534 i.setAttribute('src', res.data);
535 Roo.MessageBox.updateProgress( (total - nodes.length) / total , "Done " + (total - nodes.length) + '/' + total);
544 style : 'margin:10px',
545 url : baseURL + '/Roo/crm_mailing_list_message.php',
550 actioncomplete : function(_self,action)
553 if (action.type == 'setdata') {
555 setInterval(_this.form.findField('bodytext').autosave, 5000);
557 _this.data.module = _this.data.module || 'crm_mailing_list_message';
559 _this.form.url = baseURL + '/Roo/' + _this.data.module;
561 _this.html_preview.hide();
562 _this.preview_btn.hide();
564 if(_this.data.id*1 > 0){
565 _this.dialog.el.mask("Loading");
566 this.load({ method: 'GET', params: { '_id' : _this.data.id }});
567 _this.html_preview.show();
568 _this.preview_btn.show();
571 _this.form.setValues({
572 'from_name' : Pman.Login.authUser.name,
573 'from_email' : Pman.Login.authUser.email
578 if (action.type == 'load') {
579 _this.dialog.el.unmask();
581 _this.form.findField('bodytext').originalValue = _this.form.findField('bodytext').getValue();
585 if (action.type =='submit') {
587 _this.dialog.el.unmask();
590 if (_this.callback) {
591 _this.callback.call(_this, action.result.data);
597 rendered : function (form)
610 fieldLabel : _this._strings['b20a8b77b05d53b4e695738731400c85'] /* Mailout Name */,
624 boxLabel : 'Enabled - will be sent out',
633 check : function (_self, checked)
635 var boxLabel = 'Enabled - will be sent out';
638 boxLabel = 'Disabled - will NOT be sent out';
641 this.setBoxLabel(boxLabel);
656 fieldLabel : _this._strings['5da618e8e4b89c66fe86e32cdafde142'] /* From */,
665 fieldLabel : _this._strings['b357b524e740bc85b9790a0712d84a30'] /* Email address */,
675 displayField : 'name',
677 emptyText : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
678 fieldLabel : _this._strings['68b00d723d37122f64da8d9939f836f0'] /* BCC Group */,
679 forceSelection : true,
680 hiddenName : 'bcc_group',
681 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
683 name : 'bcc_group_name',
685 qtip : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
686 selectOnFocus : true,
687 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
688 triggerAction : 'all',
697 sortInfo : { direction : 'ASC', field: 'name' },
702 beforeload : function (_self, o){
703 o.params = o.params || {};
705 o.params._direct_return = 1;
710 url : baseURL + '/Roo/Groups',
716 fields : [{"name":"name","type":"string"},{"name":"id","type":"int"}],
719 totalProperty : 'total',
735 fieldLabel : _this._strings['44e7830e754c2e275ef6f658eafba13e'] /* Test Class */,
747 fieldLabel : _this._strings['c7892ebbb139886662c6f2fc8c450710'] /* Subject */,
762 legend : _this._strings['962b90039a542a29cedd51d87a9f28a1'] /* Html Editor */,
763 style : 'text-align:center;',
769 autosave : function() {
771 var body = _this.form.findField('bodytext');
773 if(!body.wrap.isVisible(true) || body.getValue() == '' || !body.isDirty()){
774 Roo.log('body not dirty');
778 Roo.log('body dirty, auto save!');
780 body.fireEvent('autosave', body);
827 xtype : 'HtmlEditor',
829 autosave : function (_self)
833 var id = _this.form.findField('id').getValue() * 1;
836 if(!_self.editorcore.sourceEditMode){
844 url : baseURL + '/Roo/Events.php',
849 on_id : (id > 0) ? id : 0,
850 on_table : 'crm_mailing_list_message',
852 source: _self.getValue()
854 success : function() {
855 _self.originalValue = _self.getValue();
860 Roo.log('body autosave failed?!');
865 savedpreview : function (_self)
867 var id = _this.form.findField('id').getValue() * 1;
869 var successFn = function(res){
870 return res.data.POST.source;
876 on_id : (id < 1) ? 0 : id,
877 on_table : 'crm_mailing_list_message',
878 successFn : successFn
882 Pman.Dialog.CoreAutoSavePreview.show(params, function(res){
884 _self.originalValue = res;
890 xns : Roo.form.HtmlEditor,
891 '|xns' : 'Roo.form.HtmlEditor',
892 xtype : 'ToolbarContext'
895 xns : Roo.form.HtmlEditor,
896 '|xns' : 'Roo.form.HtmlEditor',
897 xtype : 'ToolbarStandard',
901 displayField : 'name',
903 emptyText : _this._strings['b9c49611cfda3259a2b837b39489e650'] /* Add Image */,
904 fieldLabel : _this._strings['fff0d600f8a0b5e19e88bfb821dd1157'] /* Images */,
905 forceSelection : true,
907 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
910 qtip : _this._strings['2f26e35d61be90501e099089dc533638'] /* Select Images */,
911 selectOnFocus : true,
912 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>',
913 triggerAction : 'all',
921 beforequery : function (combo, query, forceAll, cancel, e)
923 var id = _this.form.findField('id').getValue() * 1;
925 Roo.MessageBox.alert("Error", "Save message first");
929 render : function (_self)
931 _this.extendimgselect = _self;
933 select : function (combo, record, index)
939 var editor = _this.form.findField('bodytext').editorcore;
941 var curnode = editor.getSelectedNode();
942 if (curnode && curnode.tagName == 'IMG') {
943 curnode.src= String.format('{0}/Images/{1}/{2}#image-{1}',
944 baseURL, record.data.id, record.data.filename
946 // note -forces an update... hopefully...
947 editor.owner.fireEvent('editorevent', editor, false);
950 editor.insertAtCursor(
951 String.format('<img src="{0}/Images/{1}/{2}#image-{1}">',
952 baseURL, record.data.id, record.data.filename
962 sortInfo : { direction : 'ASC', field: 'id' },
967 beforeload : function (_self, o){
968 o.params = o.params || {};
970 var id = _this.form.findField('id').getValue() * 1;
972 Roo.MessageBox.alert("Error", "Save email template first");
976 o.params.ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
978 // o.params.imgtype = 'PressRelease';
979 //o.params['query[imagesize]'] = '150x150';
985 url : baseURL + '/Roo/Images.php',
991 fields : [{"name":"id","type":"int"},{"name":"filename","type":"string"},{"name":"url_thumb","type":"string"}],
994 totalProperty : 'total',
1003 displayField : 'name',
1005 emptyText : _this._strings['5feb9bf3c03b32635135006cbacb9542'] /* Insert Field */,
1006 fieldLabel : _this._strings['6f16a5f8ff5d75ab84c018adacdfcbb7'] /* Field */,
1007 forceSelection : true,
1009 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
1012 qtip : _this._strings['5feb9bf3c03b32635135006cbacb9542'] /* Insert Field */,
1013 selectOnFocus : true,
1014 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
1015 triggerAction : 'all',
1017 valueField : 'type',
1020 '|xns' : 'Roo.form',
1023 render : function (_self)
1025 _this.unsubscribeselect = _self;
1027 select : function (combo, record, index)
1033 var editor = _this.form.findField('bodytext').editorcore;
1035 if(record.data.name == 'Unsubscribe'){
1036 editor.insertAtCursor(
1037 String.format('<a href="{0}">{1}</a>',
1038 record.data.type, record.data.name
1044 editor.insertAtCursor(
1045 String.format('{0}',
1054 [ '{person.firstname}', "First Name"],
1055 [ '{person.lastname}' , "Last Name"],
1056 [ '{person.name}', "Full Name"],
1057 [ '#unsubscribe', "Unsubscribe"]
1059 fields : [ 'type', 'name'],
1061 '|xns' : 'Roo.data',
1062 xtype : 'SimpleStore'
1067 '|xns' : 'Roo.Toolbar',
1071 cls : 'x-init-enable',
1072 text : _this._strings['bd88a20b53a47f7b5704a83a15ff5506'] /* Saved Version */,
1074 '|xns' : 'Roo.Toolbar',
1077 click : function (_self, e)
1079 this.scope.owner.fireEvent('savedpreview', this.scope.owner);
1095 '|xns' : 'Roo.form',
1099 text : _this._strings['e9968623956c15023d54335ea3699855'] /* Convert Html to Text */,
1104 click : function (_self, e)
1106 var h = _this.form.findField('bodytext').getValue();
1107 var p = _this.form.findField('plaintext');
1109 new Pman.Request({
\r
1110 url : baseURL + '/Core/ImportMailMessage.php',
\r
1114 _convertToPlain : true,
1115 _check_unsubscribe : true
\r
1117 success : function(res) {
\r
1118 if(res.success == true){
1119 p.setValue(res.data);
1132 '|xns' : 'Roo.form',
1137 legend : _this._strings['e44b145bd8b49b06e0ad2ced1ad56466'] /* Plain Text */,
1138 style : 'text-align:center;',
1140 '|xns' : 'Roo.form',
1147 '|xns' : 'Roo.form',
1157 '|xns' : 'Roo.form',
1170 fitContainer : true,
1173 tableName : 'Images',
1174 title : _this._strings['308f2757bfc9ce92fb00ff93fdffd279'] /* Images / Attachments */,
1177 xtype : 'GridPanel',
1179 activate : function() {
1180 _this.ipanel = this;
1182 _this.igrid.ds.load({});
1187 autoExpandColumn : 'filename',
1190 '|xns' : 'Roo.grid',
1196 //_this.dialog = Pman.Dialog.FILL_IN
1197 if (_this.ipanel.active) {
1198 // _this.igrid.ds.load({});
1208 cls : 'x-btn-text-icon',
1209 icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
1210 text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
1212 '|xns' : 'Roo.Toolbar',
1217 var id = _this.form.findField('id').getValue();
1220 Roo.MessageBox.alert('Error', 'Please save the email template first');
1224 var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
1226 Pman.Dialog.Image.show( { id : 0, onid: id, ontable: ontable }, function() {
1227 _this.igrid.getDataSource().load({});
1233 cls : 'x-btn-text-icon',
1234 icon : rootURL + '/Pman/templates/images/trash.gif',
1235 text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
1237 '|xns' : 'Roo.Toolbar',
1242 var s = _this.igrid.getSelectionModel().getSelected();
1243 if (!s || isNaN(s.id *1)) {
1244 Roo.MessageBox.alert("Error", "Select a image");
1247 Roo.MessageBox.confirm("Confirm", "Are sure you want to delete this image?", function (v){
1253 url : baseURL + '/Roo/Images.php',
1258 success : function()
1260 Roo.log('Got Success!!');
1261 _this.igrid.ds.load({});
1272 sortInfo : { field : 'filename', direction: 'ASC' },
1274 '|xns' : 'Roo.data',
1277 beforeload : function (_self, options)
1279 options.params = options.params || {};
1280 if (typeof(_this.data) == 'undefined') {
1283 if(_this.data.id * 1 >= 0)
1285 options.params.onid = _this.data.id;
1287 options.params.ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
1293 url : baseURL + '/Roo/Images.php',
1295 '|xns' : 'Roo.data',
1333 'name': 'displayorder',
1341 'name': 'parent_image_id',
1347 'dateFormat': 'Y-m-d'
1366 'name': 'parent_image_id_id',
1370 'name': 'parent_image_id_filename',
1374 'name': 'parent_image_id_ontable',
1378 'name': 'parent_image_id_onid',
1382 'name': 'parent_image_id_mimetype',
1386 'name': 'parent_image_id_width',
1390 'name': 'parent_image_id_height',
1394 'name': 'parent_image_id_filesize',
1398 'name': 'parent_image_id_displayorder',
1402 'name': 'parent_image_id_language',
1406 'name': 'parent_image_id_parent_image_id',
1410 'name': 'parent_image_id_created',
1414 'name': 'parent_image_id_imgtype',
1418 'name': 'parent_image_id_linkurl',
1422 'name': 'parent_image_id_descript',
1426 'name': 'parent_image_id_title',
1432 totalProperty : 'total',
1434 '|xns' : 'Roo.data',
1435 xtype : 'JsonReader'
1440 dataIndex : 'filename',
1441 header : _this._strings['1351017ac6423911223bc19a8cb7c653'] /* Filename */,
1442 renderer : function(v,x,r)
1444 var width = r.data.width;
1445 var height = r.data.height;
1448 height = Math.round(height * 50 / width);
1452 return '<img src="' + baseURL + '/Images/' + r.data.id + '/' + r.data.filename + '" width="' + width + '" height="' + height + '" />';
1456 '|xns' : 'Roo.grid',
1457 xtype : 'ColumnModel'
1460 dataIndex : 'displayorder',
1461 header : _this._strings['2393ad754ba179442d85e415d1d5167c'] /* Displayorder */,
1462 renderer : function(v) { return String.format('{0}', v); },
1465 '|xns' : 'Roo.grid',
1466 xtype : 'ColumnModel'
1469 dataIndex : 'title',
1470 header : _this._strings['b78a3223503896721cca1303f776159b'] /* Title */,
1471 renderer : function(v) { return String.format('{0}', v); },
1474 '|xns' : 'Roo.grid',
1475 xtype : 'ColumnModel'