Pman.Tab.CmsBlog.bjs
[Pman.Cms] / Pman.Tab.CmsCategoryTree.bjs
1 {
2     "id": "roo-file-126",
3     "name": "Pman.Tab.CmsCategoryTree",
4     "parent": "",
5     "title": "Cms - Category Tree",
6     "path": "/home/edward/gitlive/Pman.Cms/Pman.Tab.CmsCategoryTree.bjs",
7     "items": [
8         {
9             "xtype": "TreePanel",
10             "|xns": "Roo",
11             "background": true,
12             "fitToFrame": true,
13             "region": "center",
14             "listeners": {},
15             "title": "Navigation Tree",
16             "autoScroll": false,
17             "items": [
18                 {
19                     "*prop": "tree",
20                     "animate": false,
21                     "collapsible": true,
22                     "containerScroll": true,
23                     "ddGroup": "component",
24                     "ddScroll": true,
25                     "enableDD": true,
26                     "floatable": false,
27                     "height": 300,
28                     "iconCls": "icon-el",
29                     "loadMask": true,
30                     "rootVisible": true,
31                     "width": 550,
32                     "xtype": "TreePanel",
33                     "|renderer": "function (n) {\n//    console.log(n);\n    return n.title ? n.title : '??';\n}",
34                     "|xns": "Roo.tree",
35                     "items": [
36                         {
37                             "*prop": "root",
38                             "xtype": "AsyncTreeNode",
39                             "|id": "Roo.id()",
40                             "|xns": "Roo.tree",
41                             "draggable": false,
42                             "listeners": {}
43                         },
44                         {
45                             "*prop": "loader",
46                             "xtype": "TreeLoader",
47                             "|xns": "Roo.tree",
48                             "|dataUrl": "baseURL + '/Roo/Category.php'",
49                             "requestMethod": "GET",
50                             "root": "data",
51                             "queryParam": "parent_id",
52                             "|baseParams": "{start: 0,limit : 9999}",
53                             "listeners": {}
54                         }
55                     ]
56                 },
57                 {
58                     "xtype": "Toolbar",
59                     "*prop": "toolbar",
60                     "listeners": {},
61                     "|xns": "Roo",
62                     "items": [
63                         {
64                             "xtype": "Button",
65                             "|xns": "Roo.Toolbar",
66                             "text": "Add",
67                             "listeners": {}
68                         },
69                         {
70                             "xtype": "Button",
71                             "|xns": "Roo.Toolbar",
72                             "text": "Edit",
73                             "listeners": {}
74                         },
75                         {
76                             "xtype": "Button",
77                             "|xns": "Roo.Toolbar",
78                             "text": "Delete",
79                             "listeners": {}
80                         }
81                     ]
82                 }
83             ]
84         }
85     ],
86     "permname": "",
87     "modOrder": "001"
88 }