Pman.Tab.CmsBlog.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 26 Apr 2017 01:20:24 +0000 (09:20 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 26 Apr 2017 01:20:24 +0000 (09:20 +0800)
Pman.Tab.CmsBlog.js

Pman.Tab.CmsBlog.bjs
Pman.Tab.CmsBlog.js

index 45f6ea2..407e1f8 100644 (file)
           {
            "xtype" : "ColumnModel",
            "header" : "Postion",
-           "width" : 75,
-           "$ renderer" : "function(v,x,r) \n{ \n    \n    var fmt = String.format(\n                '<a href=\"#\" class=\"down\" style=\"font-weight: bold; font-size: 20px; text-decoration: none;\" tooltip=\"Down\">+</a>' +\n                '<a href=\"#\" class=\"up\" style=\"font-weight: bold; font-size: 20px; text-decoration: none; margin-left: 15px;\" tooltip=\"Up\">-</a>'\n            );\n            \n    return fmt;\n    \n}",
+           "width" : 50,
+           "$ renderer" : "function(v,x,r) \n{ \n    \n    return v *1;\n    \n}",
            "$ xns" : "Roo.grid",
            "* prop" : "cm[]",
            "dataIndex" : "seq_id"
index a76a635..4904e6a 100644 (file)
@@ -1906,15 +1906,10 @@ Pman.Tab.CmsBlog = new Roo.XComponent({
          renderer : function(v,x,r) 
          { 
              
-             var fmt = String.format(
-                         '<a href="#" class="down" style="font-weight: bold; font-size: 20px; text-decoration: none;" tooltip="Down">+</a>' +
-                         '<a href="#" class="up" style="font-weight: bold; font-size: 20px; text-decoration: none; margin-left: 15px;" tooltip="Up">-</a>'
-                     );
-                     
-             return fmt;
+             return v *1;
              
          },
-         width : 75,
+         width : 50,
          xns : Roo.grid,
          '|xns' : 'Roo.grid'
         }