}
},
- autoExpandColumn : 'name',
ddGroup : 'groupDD',
enableDrag : true,
loadMask : true,
sortable : false,
width : 150,
renderer : function(v,x,r) {
+ if(!v){
+ return;
+ }
return String.format('<span qtip="{1}">{0}</span>', v.split('.').shift(), v);
}
},
{
xtype: 'ColumnModel',
xns: Roo.grid,
- dataIndex : 'active',
- header : 'Active',
+ dataIndex : 'accessmask_A',
+ header : 'Add',
width : 75,
renderer : function(v) {
var state = v> 0 ? '-checked' : '';
{
xtype: 'ColumnModel',
xns: Roo.grid,
- dataIndex : 'active',
- header : 'Active',
+ dataIndex : 'accessmask_E',
+ header : 'Edit',
width : 75,
renderer : function(v) {
var state = v> 0 ? '-checked' : '';
{
xtype: 'ColumnModel',
xns: Roo.grid,
- dataIndex : 'active',
- header : 'Active',
+ dataIndex : 'accessmask_D',
+ header : 'Delete',
width : 75,
renderer : function(v) {
var state = v> 0 ? '-checked' : '';
{
xtype: 'ColumnModel',
xns: Roo.grid,
- dataIndex : 'active',
- header : 'Active',
+ dataIndex : 'accessmask_S',
+ header : 'List/View',
width : 75,
renderer : function(v) {
var state = v> 0 ? '-checked' : '';
{
xtype: 'ColumnModel',
xns: Roo.grid,
- dataIndex : 'active',
- header : 'Active',
+ dataIndex : 'accessmask_P',
+ header : 'Print/Export',
width : 75,
renderer : function(v) {
var state = v> 0 ? '-checked' : '';