Pman.Tab.XtupleItem.bjs
authorEdward <edward@roojs.com>
Thu, 21 Nov 2013 08:36:46 +0000 (16:36 +0800)
committerEdward <edward@roojs.com>
Thu, 21 Nov 2013 08:36:46 +0000 (16:36 +0800)
Pman.Tab.XtupleItem.js

Pman.Tab.XtupleItem.bjs
Pman.Tab.XtupleItem.js

index d231c8e..375b528 100644 (file)
                                         },
                                         {
                                             "*prop": "colModel[]",
-                                            "dataIndex": "item_descrip1",
+                                            "dataIndex": "item_image_id",
                                             "header": "Description",
                                             "sortable": true,
-                                            "width": 200,
+                                            "width": 150,
                                             "xtype": "ColumnModel",
                                             "|renderer": "function(v,x,r) { return String.format('<img src=\"{0}/Images/Thumb/100/{1}/{2}\" height=\"100\">', baseURL, v, r.data.item_image_filename); }",
                                             "|xns": "Roo.grid"
index aab7f8a..13c54d2 100644 (file)
@@ -1045,10 +1045,10 @@ Pman.Tab.XtupleItem = new Roo.XComponent({
                                 {
                                     xtype: 'ColumnModel',
                                     xns: Roo.grid,
-                                    dataIndex : 'item_descrip1',
+                                    dataIndex : 'item_image_id',
                                     header : 'Description',
                                     sortable : true,
-                                    width : 200,
+                                    width : 150,
                                     renderer : function(v,x,r) { return String.format('<img src="{0}/Images/Thumb/100/{1}/{2}" height="100">', baseURL, v, r.data.item_image_filename); }
                                 },
                                 {