MODx.grid.TVSecurity=function(A){A=A||{};var B=new Ext.ux.grid.CheckColumn({header:_("access"),dataIndex:"access",width:40,sortable:false});Ext.applyIf(A,{id:"modx-grid-tv-security",url:MODx.config.connectors_url+"element/tv/resourcegroup.php",baseParams:{action:"getList",tv:A.tv},fields:["id","name","access","menu"],paging:true,remoteSort:true,plugins:B,columns:[{header:_("name"),dataIndex:"name",width:200,sortable:true},B]});MODx.grid.TVSecurity.superclass.constructor.call(this,A);};Ext.extend(MODx.grid.TVSecurity,MODx.grid.Grid);Ext.reg("modx-grid-tv-security",MODx.grid.TVSecurity);