"name" : "Pman.Tab.BuilderPalette",
"parent" : "Pman.Tab.BuilderTab",
"title" : "Pman.Tab.BuilderPalette",
- "path" : "/home/edward/gitlive/Pman.Builder/Pman.Tab.BuilderPalette.bjs",
+ "path" : "/home/alan/gitlive/Pman.Builder/Pman.Tab.BuilderPalette.bjs",
"permname" : "",
"modOrder" : "001",
"strings" : {
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.ds.load({})\n }\n}"
},
+ "region" : "east",
"fitToframe" : true,
"background" : true,
- "region" : "east",
"title" : "palette",
"xtype" : "GridPanel",
"fitContainer" : true,
"items" : [
{
"listeners" : {
- "|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}",
+ "|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}",
"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 Roo.each(rowcfg.record.json.parents, function(n) {\n if (n == sn || n.split(':').shift() == sn) {\n cls = '';\n return true;\n }\n );\n \n //Roo.log(cls);\n rowcfg.rowClass = cls;\n // what is the currently selected element..\n \n}"
},
"autoExpandColumn" : "name",
"items" : [
{
"$ url" : "baseURL + '/Builder/Palette.php'",
- "xtype" : "HttpProxy",
"method" : "GET",
+ "xtype" : "HttpProxy",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
},
{
"xtype" : "ColumnModel",
- "header" : "Name",
"width" : 200,
+ "header" : "Name",
"$ renderer" : "function(v) { return String.format('{0}', v); }",
"$ xns" : "Roo.grid",
"* prop" : "colModel[]",
name : "Pman.Tab.BuilderPalette",
disabled : false,
permname : '',
- _tree : function()
+ _tree : function(_data)
{
var _this = this;
var MODULE = this;
return;
}
_this.ss = Roo.util.CSS.createStyleSheet(
- '.pman-builder-palete-hide { display: none; } ' + "\n"
- , Roo.id());
-
+ '.pman-builder-palete-hide { display: none; } ' + "\n"
+ , Roo.id());
+
},