url: baseURL + '/Admin/GroupRights.php',
method: 'GET'
}),
- reader: new Roo.data.JsonReader({}, []),
+ reader: new Roo.data.JsonReader({},
+ [
+ {
+ 'name': 'FullMask',
+ 'type': 'string'
+ },
+ {
+ 'name': 'accessmask',
+ 'type': 'string'
+ },
+ {
+ 'name': 'descript',
+ 'type': 'string'
+ },
+ {
+ 'name': 'group_id',
+ 'type': 'int'
+ },
+ {
+ 'name': 'id',
+ 'type': 'int'
+ },
+ {
+ 'name': 'rightname',
+ 'type': 'string'
+ }
+ ]
+ ),
remoteSort: false,
listeners : {
beforeload : function(t,o)
'width' : 50,
renderer : function(v,x,r)
{
- return '';
return String.format('<span qtip="{1}">{0}</span>', v.split('.').shift(), v);
}
},