}o.params=o.params||{};o.params.person_id=A.personSel.getValue();}},remoteSort:true,sortInfo:{field:"event_when",direction:"DESC"},proxy:{xtype:"HttpProxy",method:"GET",url:baseURL+"/Roo/Events.php"}},colModel:[{header:"When",width:100,dataIndex:"event_when",renderer:function(v){return v?v.dateFormat("d/m/Y H:i"):"";
}},{header:"Staff",width:150,dataIndex:"person_name",renderer:function(v){return String.format("{0}",v);}},{header:"Action",width:100,dataIndex:"action",renderer:function(v){return String.format("{0}",v);}},{header:"IP",width:100,dataIndex:"ipaddr",renderer:function(v){return String.format("{0}",v);
}},{header:"Affected",width:100,dataIndex:"on_id",renderer:function(v,x,r){return v?String.format("{0}({1})",r.data.on_table,v):"";}},{header:"Remarks",width:300,dataIndex:"remarks",renderer:function(v){return String.format("{0}",v);}}],footer:{xtype:"PagingToolbar",pageSize:25,displayInfo:true,displayMsg:_T["2ff0fe02cb998d6c2953ae2d68ca6ea4"],emptyMsg:_T["9a0575c139cbae13541dff297791a7d8"]},toolbar:{xtype:"Toolbar",items:[{xtype:"TextItem",xns:Roo.Toolbar,text:_T["b6ae8269eb074050cf22d7199051a157"]},{fieldLabel:_T["a9dbe313b1e0082050bda7ce5fc93f7e"],name:"person_id_name",qtip:_T["b827dddadd3ebfc23104551ee6a3a6f9"],emptyText:_T["b827dddadd3ebfc23104551ee6a3a6f9"],xtype:"ComboBox",selectOnFocus:true,allowBlank:true,width:150,listWidth:400,editable:false,displayField:"name",valueField:"id",typeAhead:true,forceSelection:true,triggerAction:"all",tpl:"<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",queryParam:"query[name]",loadingText:_T["d2489c8b4febecb80a1c387c1431696c"],minChars:2,pageSize:20,listeners:{select:function(D,F,E){A.grid.footer.onClick("first");
}o.params=o.params||{};o.params.person_id=A.personSel.getValue();}},remoteSort:true,sortInfo:{field:"event_when",direction:"DESC"},proxy:{xtype:"HttpProxy",method:"GET",url:baseURL+"/Roo/Events.php"}},colModel:[{header:"When",width:100,dataIndex:"event_when",renderer:function(v){return v?v.dateFormat("d/m/Y H:i"):"";
}},{header:"Staff",width:150,dataIndex:"person_name",renderer:function(v){return String.format("{0}",v);}},{header:"Action",width:100,dataIndex:"action",renderer:function(v){return String.format("{0}",v);}},{header:"IP",width:100,dataIndex:"ipaddr",renderer:function(v){return String.format("{0}",v);
}},{header:"Affected",width:100,dataIndex:"on_id",renderer:function(v,x,r){return v?String.format("{0}({1})",r.data.on_table,v):"";}},{header:"Remarks",width:300,dataIndex:"remarks",renderer:function(v){return String.format("{0}",v);}}],footer:{xtype:"PagingToolbar",pageSize:25,displayInfo:true,displayMsg:_T["2ff0fe02cb998d6c2953ae2d68ca6ea4"],emptyMsg:_T["9a0575c139cbae13541dff297791a7d8"]},toolbar:{xtype:"Toolbar",items:[{xtype:"TextItem",xns:Roo.Toolbar,text:_T["b6ae8269eb074050cf22d7199051a157"]},{fieldLabel:_T["a9dbe313b1e0082050bda7ce5fc93f7e"],name:"person_id_name",qtip:_T["b827dddadd3ebfc23104551ee6a3a6f9"],emptyText:_T["b827dddadd3ebfc23104551ee6a3a6f9"],xtype:"ComboBox",selectOnFocus:true,allowBlank:true,width:150,listWidth:400,editable:false,displayField:"name",valueField:"id",typeAhead:true,forceSelection:true,triggerAction:"all",tpl:"<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",queryParam:"query[name]",loadingText:_T["d2489c8b4febecb80a1c387c1431696c"],minChars:2,pageSize:20,listeners:{select:function(D,F,E){A.grid.footer.onClick("first");