Pman.Dialog.AdminEventLog.js
"xtype": "Toolbar",
"|xns": "Roo",
"items": [
- {
- "text": "Add",
- "xtype": "Button",
- "cls": "x-btn-text-icon",
- "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
- "listeners": {
- "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
- },
- "|xns": "Roo.Toolbar"
- },
{
"text": "Edit",
"xtype": "Button",
}
]
},
- {
- "xtype": "ColumnModel",
- "header": "Id",
- "width": 75,
- "dataIndex": "id",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid",
- "*prop": "colModel[]"
- },
{
"xtype": "ColumnModel",
"header": "Person name",
xtype: 'Toolbar',
xns: Roo,
items : [
- {
- xtype: 'Button',
- xns: Roo.Toolbar,
- text : "Add",
- cls : 'x-btn-text-icon',
- icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
- listeners : {
- click : function()
- {
- if (!_this.dialog) return;
- _this.dialog.show( { id : 0 } , function() {
- _this.grid.footer.onClick('first');
- });
- }
- }
- },
{
xtype: 'Button',
xns: Roo.Toolbar,
]
},
colModel : [
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- header : 'Id',
- width : 75,
- dataIndex : 'id',
- renderer : function(v) { return String.format('{0}', v); }
- },
{
xtype: 'ColumnModel',
xns: Roo.grid,