},
{
"xtype" : "LayoutRegion",
- "$ xns" : "Roo",
"width" : 200,
+ "$ xns" : "Roo",
"split" : true,
"* prop" : "west"
},
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
},
+ "background" : false,
"region" : "west",
"fitToframe" : true,
- "background" : false,
"title" : "Events",
"xtype" : "GridPanel",
"fitContainer" : true,
"items" : [
{
"$ url" : "baseURL + '/Roo/Events.php'",
- "method" : "GET",
"xtype" : "HttpProxy",
+ "method" : "GET",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
},
{
"xtype" : "ColumnModel",
- "header" : "Date",
"width" : 100,
+ "header" : "Date",
"$ renderer" : "function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }",
"$ xns" : "Roo.grid",
"* prop" : "colModel[]",
},
{
"xtype" : "ColumnModel",
- "width" : 100,
"header" : "By",
+ "width" : 100,
"$ renderer" : "function(v) { return String.format('{0}', v ); }",
"$ xns" : "Roo.grid",
"* prop" : "colModel[]",
"render" : "function (_self)\n{\n _this.viewPanel = _self;\n}"
},
"autoScroll" : true,
- "fitToFrame" : true,
"background" : false,
+ "fitToFrame" : true,
"region" : "center",
"xtype" : "ContentPanel",
"fitContainer" : true,