column widths on notify
[Pman.Admin] / Pman.Tab.AdminNotify.bjs
index 919bd2b..6c22e97 100644 (file)
            "xtype" : "ColumnModel",
            "sortable" : true,
            "header" : "Method",
-           "width" : 100,
+           "width" : 70,
            "$ renderer" : "function(v,x,r) \n{ \n    var vv = (typeof(r.data.evtype_align) != 'undefined' && r.data.evtype_align) ? r.data.evtype_align : v;\n    return String.format('<span qtip=\"{0}\">{1}</span>', v, vv ); \n}",
            "$ xns" : "Roo.grid",
            "* prop" : "colModel[]",
            "xtype" : "ColumnModel",
            "sortable" : true,
            "header" : "Act when",
-           "width" : 150,
+           "width" : 130,
            "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y H:i:s') : ''); }",
            "$ xns" : "Roo.grid",
            "* prop" : "colModel[]",
            "xtype" : "ColumnModel",
            "sortable" : true,
            "header" : "Sent",
-           "width" : 150,
+           "width" : 130,
            "$ renderer" : "function(v,x,r) {\n    if (r.data.event_id *1 == 0) {\n        return '';\n    }\n     return String.format('{0}', v ? v.format('d/M/Y H:i:s') : '');\n  }",
            "$ xns" : "Roo.grid",
            "* prop" : "colModel[]",
           },
           {
            "xtype" : "ColumnModel",
-           "width" : 200,
+           "width" : 50,
            "header" : "Msgid",
            "$ renderer" : "function(v) { return String.format('{0}', v); }",
            "$ xns" : "Roo.grid",