Pman.Tab.XtupleItem.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 04:14:03 +0000 (12:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 04:14:03 +0000 (12:14 +0800)
Pman.Tab.XtupleItem.js

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

index 6696fcd..d6c969c 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-369",
+    "id": "roo-file-370",
     "name": "Pman.Tab.XtupleItem",
     "parent": "Pman.Tab.XtupleManage",
     "title": "Pman.Tab.XtupleItem",
                                             "*prop": "colModel[]",
                                             "dataIndex": "itemsrc_active",
                                             "header": "Purchased",
+                                            "sortable": true,
                                             "width": 55,
                                             "xtype": "ColumnModel",
                                             "|renderer": "function(v) {  \n    var state = v * 1 > 0 ?  '-checked' : '';\n\n    return '<img class=\"x-grid-check-icon' + state + '\" src=\"' + Roo.BLANK_IMAGE_URL + '\"/>';\n                \n }",
index bcad4db..c1a1d31 100644 (file)
@@ -1444,6 +1444,7 @@ Pman.Tab.XtupleItem = new Roo.XComponent({
                                     xns: Roo.grid,
                                     dataIndex : 'itemsrc_active',
                                     header : 'Purchased',
+                                    sortable : true,
                                     width : 55,
                                     renderer : function(v) {  
                                         var state = v * 1 > 0 ?  '-checked' : '';