{
- "id": "roo-file-40",
+ "id": "roo-file-95",
"name": "Pman.Tab.AdminProjectManager",
"parent": "Pman.Tab.Admin",
"title": "Pman.Tab.AdminProjectManager",
{
"listeners": {
"|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
- "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
+ "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
},
- "filter": "P,U",
"*prop": "grid",
"autoExpandColumn": "name",
+ "filter": "P,U",
"loadMask": true,
"xtype": "Grid",
"|getTypes": "function() {\n return [\n [ 'U' , \"Project (Unconfirmed)\" ],\n [ 'P' , \"Project\" ],\n [ 'C' , \"Project (Closed)\" ],\n [ 'N' , \"Non-Project\" ],\n [ 'X' , \"Non-Project (Closed)\" ]\n\n ];\n}\n",
Pman.on('beforeload', function()
{
Pman.register({
+ part : ["Admin","ProjectManager"],
modKey : '002-Pman.Tab.AdminProjectManager',
module : Pman.Tab.AdminProjectManager,
- moduleName : 'Pman.Tab.AdminProjectManager',
region : 'center',
parent : Pman.Tab.Admin,
name : "Pman.Tab.AdminProjectManager",
rowdblclick : function (_self, rowIndex, e)
{
if (!_this.dialog) return;
- _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
+ _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
_this.grid.footer.onClick('first');
});
}
},
- filter : 'P,U',
autoExpandColumn : 'name',
+ filter : 'P,U',
loadMask : true,
getTypes : function() {
return [
xtype: 'PagingToolbar',
xns: Roo,
displayInfo : true,
- displayMsg : 'Displaying Projects {0} - {1} of {2}',
- emptyMsg : 'No Projects found',
+ displayMsg : "Displaying Projects {0} - {1} of {2}",
+ emptyMsg : "No Projects found",
pageSize : 25
},
toolbar : {