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,
173 success : function(res) {
174 if(res.data == 'SUCCESS'){
175 Roo.MessageBox.alert("Email Sent", 'The report was sent to your email (HTML format).');
180 render : function (_self)
182 _this.html_preview = _self;
187 text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
192 click : function (_self, e)
199 text : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
204 click : function (_self, e)
208 _this.form.preValidate(function(res) {
212 _this.form.doAction("submit");
227 xtype : 'NestedLayoutPanel',
234 text : _this._strings['72d6d7a1885885bb55a565fd1070581a'] /* Import */,
236 '|xns' : 'Roo.Toolbar',
244 text : _this._strings['e6b391a8d2c4d45902a23a8b6585703d'] /* URL */,
249 click : function (_self, e)
251 Pman.Dialog.CoreImportUrl.show({
252 target : '/Core/ImportMailMessage.php'
256 _this.form.findField('bodytext').setValue(data);
263 text : _this._strings['1bd18d39370b7f26c1c5e18067b74c6f'] /* Html File */,
268 click : function (_self, e)
270 Pman.Dialog.Image.show({
271 _url : baseURL + '/Core/ImportMailMessage.php'
274 _this.form.findField('bodytext').setValue(data);
284 text : _this._strings['884df8e413319ff51a3f5f528606238a'] /* Use template */,
286 '|xns' : 'Roo.Toolbar',
294 text : _this._strings['dc0de523c25be298ba751c63c694109e'] /* Responsive Email (1) */,
299 click : function (_self, e)
302 var l = document.location;
305 url : baseURL + '/Core/ImportMailMessage.php',
310 importUrl : l.protocol +'//' + l.host + rootURL + '/Pman/Crm/mail_templates/responsive1.html'
312 success : function (res) {
314 _this.form.findField('bodytext').setValue(res.data);
327 displayField : 'file',
329 emptyText : _this._strings['31bb2f6e9b8fb11cbb7fb63c6025223f'] /* Select Template */,
330 fieldLabel : _this._strings['278c491bdd8a53618c149c4ac790da34'] /* Template */,
331 forceSelection : true,
332 hiddenName : 'template',
334 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
338 qtip : _this._strings['31bb2f6e9b8fb11cbb7fb63c6025223f'] /* Select Template */,
339 selectOnFocus : true,
340 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{file}</b> </div>',
341 triggerAction : 'all',
349 select : function (combo, record, index)
360 _this.form.findField('bodytext').setValue(record.data.content);
366 sortInfo : { direction : 'DESC', field: 'file' },
371 beforeload : function (_self, o){
372 o.params = o.params || {};
379 url : baseURL + '/Core/MailTemplateList.php',
385 fields : [{"name":"file","type":"string"},{"name":"content","type":"string"}],
388 totalProperty : 'total',
397 '|xns' : 'Roo.Toolbar',
401 text : _this._strings['ea30b40c3caf28acb29198d20d243e54'] /* Images / Attachments >> */,
403 '|xns' : 'Roo.Toolbar',
406 click : function (_self, e)
408 var el = _this.dialog.layout.getRegion('east');
424 xtype : 'BorderLayout',
429 xtype : 'LayoutRegion'
438 title : _this._strings['4c2a8fe7eaf24721cc7a9f0175115bd4'] /* Message */,
441 xtype : 'ContentPanel',
443 render : function (_self, width, height)
446 Roo.log("RESIZE, " + width + ',' + height);
448 var ew = Math.max(250, width-50);
449 var eh = Math.max(250,height-50) ;
454 resize : function (_self, width, height)
\r
456 var ew = Math.max(250, width-50);
\r
457 var eh = Math.max(250,height-50) ;
462 var bdtext = _this.form.findField('bodytext');
\r
463 var ptext = _this.form.findField('plaintext');
\r
464 if(bdtext.resizeEl){
\r
465 bdtext.width = ew-50;
\r
466 bdtext.resizeEl.resizeTo.defer(110, bdtext.resizeEl,[ bdtext.width, bdtext.height ] );
\r
467 ptext.setSize(bdtext.width , bdtext.height);
\r
474 labelAlign : 'right',
477 preValidate : function(done_callback) {
479 Roo.MessageBox.progress("Uploading Images", "Uploading");
481 if(!_this.form.findField('bodytext').editorcore.sourceEditMode){
482 _this.form.findField('bodytext').syncValue();
484 _this.form.findField('bodytext').pushValue();
487 var html = _this.form.findField('bodytext').getValue();
489 var s = Roo.get(_this.form.findField('bodytext').editorcore.doc.documentElement);
491 var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
494 s.select('img[src]').each(function(i) {
497 var total = nodes.length;
498 var mkimg = function() {
501 Roo.MessageBox.hide();
502 _this.form.findField('bodytext').syncValue();
504 // _this.form.doAction("submit");
509 var n = i.getAttribute('src').match(/(baseURL|server_baseurl)/);
516 n = i.getAttribute('src').match(/^http(.*)/);
524 url : baseURL + '/Roo/Images.php',
527 onid : _this.form.findField('id').getValue(),
529 _remote_upload : i.src
531 success : function(res){
532 if(res.success == true){
533 i.setAttribute('src', res.data);
534 Roo.MessageBox.updateProgress( (total - nodes.length) / total , "Done " + (total - nodes.length) + '/' + total);
543 style : 'margin:10px',
544 url : baseURL + '/Roo/crm_mailing_list_message.php',
549 actioncomplete : function(_self,action)
552 if (action.type == 'setdata') {
554 setInterval(_this.form.findField('bodytext').autosave, 5000);
556 _this.data.module = _this.data.module || 'crm_mailing_list_message';
558 _this.form.url = baseURL + '/Roo/' + _this.data.module;
560 _this.html_preview.hide();
561 _this.preview_btn.hide();
563 if(_this.data.id*1 > 0){
564 _this.dialog.el.mask("Loading");
565 this.load({ method: 'GET', params: { '_id' : _this.data.id }});
566 _this.html_preview.show();
567 _this.preview_btn.show();
570 _this.form.setValues({
571 'from_name' : Pman.Login.authUser.name,
572 'from_email' : Pman.Login.authUser.email
577 if (action.type == 'load') {
578 _this.dialog.el.unmask();
580 _this.form.findField('bodytext').originalValue = _this.form.findField('bodytext').getValue();
584 if (action.type =='submit') {
586 _this.dialog.el.unmask();
589 if (_this.callback) {
590 _this.callback.call(_this, action.result.data);
596 rendered : function (form)
609 fieldLabel : _this._strings['b20a8b77b05d53b4e695738731400c85'] /* Mailout Name */,
623 boxLabel : 'Enabled - will be sent out',
632 check : function (_self, checked)
634 var boxLabel = 'Enabled - will be sent out';
637 boxLabel = 'Disabled - will NOT be sent out';
640 this.setBoxLabel(boxLabel);
655 fieldLabel : _this._strings['5da618e8e4b89c66fe86e32cdafde142'] /* From */,
664 fieldLabel : _this._strings['b357b524e740bc85b9790a0712d84a30'] /* Email address */,
674 displayField : 'name',
676 emptyText : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
677 fieldLabel : _this._strings['68b00d723d37122f64da8d9939f836f0'] /* BCC Group */,
678 forceSelection : true,
679 hiddenName : 'bcc_group',
680 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
682 name : 'bcc_group_name',
684 qtip : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
685 selectOnFocus : true,
686 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
687 triggerAction : 'all',
696 sortInfo : { direction : 'ASC', field: 'name' },
701 beforeload : function (_self, o){
702 o.params = o.params || {};
704 o.params._direct_return = 1;
709 url : baseURL + '/Roo/Groups',
715 fields : [{"name":"name","type":"string"},{"name":"id","type":"int"}],
718 totalProperty : 'total',
734 fieldLabel : _this._strings['44e7830e754c2e275ef6f658eafba13e'] /* Test Class */,
746 fieldLabel : _this._strings['c7892ebbb139886662c6f2fc8c450710'] /* Subject */,
761 legend : _this._strings['962b90039a542a29cedd51d87a9f28a1'] /* Html Editor */,
762 style : 'text-align:center;',
768 autosave : function() {
770 var body = _this.form.findField('bodytext');
772 if(!body.wrap.isVisible(true) || body.getValue() == '' || !body.isDirty()){
773 Roo.log('body not dirty');
777 Roo.log('body dirty, auto save!');
779 body.fireEvent('autosave', body);
826 xtype : 'HtmlEditor',
828 autosave : function (_self)
832 var id = _this.form.findField('id').getValue() * 1;
835 if(!_self.editorcore.sourceEditMode){
843 url : baseURL + '/Roo/Events.php',
848 on_id : (id > 0) ? id : 0,
849 on_table : 'crm_mailing_list_message',
851 source: _self.getValue()
853 success : function() {
854 _self.originalValue = _self.getValue();
859 Roo.log('body autosave failed?!');
864 savedpreview : function (_self)
866 var id = _this.form.findField('id').getValue() * 1;
868 var successFn = function(res){
869 return res.data.POST.source;
875 on_id : (id < 1) ? 0 : id,
876 on_table : 'crm_mailing_list_message',
877 successFn : successFn
881 Pman.Dialog.CoreAutoSavePreview.show(params, function(res){
883 _self.originalValue = res;
889 xns : Roo.form.HtmlEditor,
890 '|xns' : 'Roo.form.HtmlEditor',
891 xtype : 'ToolbarContext'
894 xns : Roo.form.HtmlEditor,
895 '|xns' : 'Roo.form.HtmlEditor',
896 xtype : 'ToolbarStandard',
900 displayField : 'name',
902 emptyText : _this._strings['b9c49611cfda3259a2b837b39489e650'] /* Add Image */,
903 fieldLabel : _this._strings['fff0d600f8a0b5e19e88bfb821dd1157'] /* Images */,
904 forceSelection : true,
906 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
909 qtip : _this._strings['2f26e35d61be90501e099089dc533638'] /* Select Images */,
910 selectOnFocus : true,
911 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>',
912 triggerAction : 'all',
920 beforequery : function (combo, query, forceAll, cancel, e)
922 var id = _this.form.findField('id').getValue() * 1;
924 Roo.MessageBox.alert("Error", "Save message first");
928 render : function (_self)
930 _this.extendimgselect = _self;
932 select : function (combo, record, index)
938 var editor = _this.form.findField('bodytext').editorcore;
940 var curnode = editor.getSelectedNode();
941 if (curnode && curnode.tagName == 'IMG') {
942 curnode.src= String.format('{0}/Images/{1}/{2}#image-{1}',
943 baseURL, record.data.id, record.data.filename
945 // note -forces an update... hopefully...
946 editor.owner.fireEvent('editorevent', editor, false);
949 editor.insertAtCursor(
950 String.format('<img src="{0}/Images/{1}/{2}#image-{1}">',
951 baseURL, record.data.id, record.data.filename
961 sortInfo : { direction : 'ASC', field: 'id' },
966 beforeload : function (_self, o){
967 o.params = o.params || {};
969 var id = _this.form.findField('id').getValue() * 1;
971 Roo.MessageBox.alert("Error", "Save email template first");
975 o.params.ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
977 // o.params.imgtype = 'PressRelease';
978 //o.params['query[imagesize]'] = '150x150';
984 url : baseURL + '/Roo/Images.php',
990 fields : [{"name":"id","type":"int"},{"name":"filename","type":"string"},{"name":"url_thumb","type":"string"}],
993 totalProperty : 'total',
1002 displayField : 'name',
1004 emptyText : _this._strings['5feb9bf3c03b32635135006cbacb9542'] /* Insert Field */,
1005 fieldLabel : _this._strings['6f16a5f8ff5d75ab84c018adacdfcbb7'] /* Field */,
1006 forceSelection : true,
1008 loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
1011 qtip : _this._strings['5feb9bf3c03b32635135006cbacb9542'] /* Insert Field */,
1012 selectOnFocus : true,
1013 tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
1014 triggerAction : 'all',
1016 valueField : 'type',
1019 '|xns' : 'Roo.form',
1022 render : function (_self)
1024 _this.unsubscribeselect = _self;
1026 select : function (combo, record, index)
1032 var editor = _this.form.findField('bodytext').editorcore;
1034 if(record.data.name == 'Unsubscribe'){
1035 editor.insertAtCursor(
1036 String.format('<a href="{0}">{1}</a>',
1037 record.data.type, record.data.name
1043 editor.insertAtCursor(
1044 String.format('{0}',
1053 [ '{person.firstname}', "First Name"],
1054 [ '{person.lastname}' , "Last Name"],
1055 [ '{person.name}', "Full Name"],
1056 [ '#unsubscribe', "Unsubscribe"]
1058 fields : [ 'type', 'name'],
1060 '|xns' : 'Roo.data',
1061 xtype : 'SimpleStore'
1066 '|xns' : 'Roo.Toolbar',
1070 cls : 'x-init-enable',
1071 text : _this._strings['bd88a20b53a47f7b5704a83a15ff5506'] /* Saved Version */,
1073 '|xns' : 'Roo.Toolbar',
1076 click : function (_self, e)
1078 this.scope.owner.fireEvent('savedpreview', this.scope.owner);
1094 '|xns' : 'Roo.form',
1098 text : _this._strings['e9968623956c15023d54335ea3699855'] /* Convert Html to Text */,
1103 click : function (_self, e)
1105 var h = _this.form.findField('bodytext').getValue();
1106 var p = _this.form.findField('plaintext');
1108 new Pman.Request({
\r
1109 url : baseURL + '/Core/ImportMailMessage.php',
\r
1113 _convertToPlain : true,
1114 _check_unsubscribe : true
\r
1116 success : function(res) {
\r
1117 if(res.success == true){
1118 p.setValue(res.data);
1131 '|xns' : 'Roo.form',
1136 legend : _this._strings['e44b145bd8b49b06e0ad2ced1ad56466'] /* Plain Text */,
1137 style : 'text-align:center;',
1139 '|xns' : 'Roo.form',
1146 '|xns' : 'Roo.form',
1156 '|xns' : 'Roo.form',
1169 fitContainer : true,
1172 tableName : 'Images',
1173 title : _this._strings['308f2757bfc9ce92fb00ff93fdffd279'] /* Images / Attachments */,
1176 xtype : 'GridPanel',
1178 activate : function() {
1179 _this.ipanel = this;
1181 _this.igrid.ds.load({});
1186 autoExpandColumn : 'filename',
1189 '|xns' : 'Roo.grid',
1195 //_this.dialog = Pman.Dialog.FILL_IN
1196 if (_this.ipanel.active) {
1197 // _this.igrid.ds.load({});
1207 cls : 'x-btn-text-icon',
1208 icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
1209 text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
1211 '|xns' : 'Roo.Toolbar',
1216 var id = _this.form.findField('id').getValue();
1219 Roo.MessageBox.alert('Error', 'Please save the email template first');
1223 var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
1225 Pman.Dialog.Image.show( { id : 0, onid: id, ontable: ontable }, function() {
1226 _this.igrid.getDataSource().load({});
1232 cls : 'x-btn-text-icon',
1233 icon : rootURL + '/Pman/templates/images/trash.gif',
1234 text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
1236 '|xns' : 'Roo.Toolbar',
1241 var s = _this.igrid.getSelectionModel().getSelected();
1242 if (!s || isNaN(s.id *1)) {
1243 Roo.MessageBox.alert("Error", "Select a image");
1246 Roo.MessageBox.confirm("Confirm", "Are sure you want to delete this image?", function (v){
1252 url : baseURL + '/Roo/Images.php',
1257 success : function()
1259 Roo.log('Got Success!!');
1260 _this.igrid.ds.load({});
1271 sortInfo : { field : 'filename', direction: 'ASC' },
1273 '|xns' : 'Roo.data',
1276 beforeload : function (_self, options)
1278 options.params = options.params || {};
1279 if (typeof(_this.data) == 'undefined') {
1282 if(_this.data.id * 1 >= 0)
1284 options.params.onid = _this.data.id;
1286 options.params.ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';
1292 url : baseURL + '/Roo/Images.php',
1294 '|xns' : 'Roo.data',
1332 'name': 'displayorder',
1340 'name': 'parent_image_id',
1346 'dateFormat': 'Y-m-d'
1365 'name': 'parent_image_id_id',
1369 'name': 'parent_image_id_filename',
1373 'name': 'parent_image_id_ontable',
1377 'name': 'parent_image_id_onid',
1381 'name': 'parent_image_id_mimetype',
1385 'name': 'parent_image_id_width',
1389 'name': 'parent_image_id_height',
1393 'name': 'parent_image_id_filesize',
1397 'name': 'parent_image_id_displayorder',
1401 'name': 'parent_image_id_language',
1405 'name': 'parent_image_id_parent_image_id',
1409 'name': 'parent_image_id_created',
1413 'name': 'parent_image_id_imgtype',
1417 'name': 'parent_image_id_linkurl',
1421 'name': 'parent_image_id_descript',
1425 'name': 'parent_image_id_title',
1431 totalProperty : 'total',
1433 '|xns' : 'Roo.data',
1434 xtype : 'JsonReader'
1439 dataIndex : 'filename',
1440 header : _this._strings['1351017ac6423911223bc19a8cb7c653'] /* Filename */,
1441 renderer : function(v,x,r)
1443 var width = r.data.width;
1444 var height = r.data.height;
1447 height = Math.round(height * 50 / width);
1451 return '<img src="' + baseURL + '/Images/' + r.data.id + '/' + r.data.filename + '" width="' + width + '" height="' + height + '" />';
1455 '|xns' : 'Roo.grid',
1456 xtype : 'ColumnModel'
1459 dataIndex : 'displayorder',
1460 header : _this._strings['2393ad754ba179442d85e415d1d5167c'] /* Displayorder */,
1461 renderer : function(v) { return String.format('{0}', v); },
1464 '|xns' : 'Roo.grid',
1465 xtype : 'ColumnModel'
1468 dataIndex : 'title',
1469 header : _this._strings['b78a3223503896721cca1303f776159b'] /* Title */,
1470 renderer : function(v) { return String.format('{0}', v); },
1473 '|xns' : 'Roo.grid',
1474 xtype : 'ColumnModel'