3 "name": "Pman.Tab.BuilderPalette",
4 "parent": "Pman.Tab.BuilderTab",
5 "title": "Pman.Tab.BuilderPalette",
6 "path": "/home/edward/gitlive/Pman.Builder/Pman.Tab.BuilderPalette.bjs",
10 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.ds.load({})\n }\n}"
16 "tableName": "palette",
23 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.ds.load({})\n }\n if (_this.ss) {\n return;\n }\n _this.ss = Roo.util.CSS.createStyleSheet(\n'.pman-builder-palete-hide { display: none; } ' + \"\\n\" \n, Roo.id())\n \n \n \n}",
24 "rowclass": "function (gridview, rowcfg)\n{\n var sn = Pman.Builder.Tree.currentNodeType();\n // Roo.log(rowcfg);\n if (!sn) {\n sn = '*top';\n }\n var cls = 'pman-builder-palete-hide';\n \n \n Roo.each(rowcfg.record.json.parents, function(n) {\n if (n == sn || n.split(':').shift() == sn) \n cls = '';\n return true;\n }\n );\n //Roo.log(cls);\n rowcfg.rowClass = cls;\n // what is the currently selected element..\n \n}"
27 "autoExpandColumn": "name",
28 "ddGroup": "component",
35 "*prop": "dataSource",
38 "|sortInfo": "{ field : 'name', direction: 'ASC' }",
45 "|url": "baseURL + '/Builder/Palette.php'",
52 "totalProperty": "total",
53 "xtype": "JsonReader",
54 "|fields": "[\n \n {\n 'name': 'name',\n 'type': 'string'\n }\n]",
60 "*prop": "colModel[]",
64 "xtype": "ColumnModel",
65 "|renderer": "function(v) { return String.format('{0}', v); }",
71 "xtype": "RowSelectionModel",