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

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

index 5fc8b16..b576398 100644 (file)
                                             "*prop": "colModel[]",
                                             "dataIndex": "item_active",
                                             "header": "is Active?",
+                                            "sortable": true,
                                             "width": 50,
                                             "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 56a9d47..a340a82 100644 (file)
@@ -1472,6 +1472,7 @@ Pman.Tab.XtupleItem = new Roo.XComponent({
                                     xns: Roo.grid,
                                     dataIndex : 'item_active',
                                     header : 'is Active?',
+                                    sortable : true,
                                     width : 50,
                                     renderer : function(v) {  
                                         var state = v * 1 > 0 ?  '-checked' : '';