cls : 'table-fixed',
hover : true,
loadMask : true,
- responsive : true,
rowSelection : true,
striped : false,
listeners : {
{
_this.table = _self;
- var cm = this.colModel;
+ if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {
+ this.colModel.setHidden(this.colModel.findColumnIndex('id'), true);
+ this.colModel.setHidden(this.colModel.findColumnIndex('on_table'), true);
+ this.colModel.setHidden(this.colModel.findColumnIndex('ipaddr'), true);
+ this.colModel.getColumnByDataIndex('remarks').md = 7;
+ this.colModel.getColumnByDataIndex('remarks').sm = 7;
+ this.colModel.getColumnByDataIndex('remarks').xs = 7;
+ }
- cm.setHidden(1, true);
},
rowdblclick : function (_self, el, rowIndex, e)
{
dataIndex : 'action',
header : _this._strings['004bf6c9a40003140292e97330236c53'] /* Action */,
md : 1,
- renderer : function(v) { return String.format('{0}', v); },
+ renderer : function(v)
+ {
+ var vv = v.charAt(0).toUpperCase() + v.slice(1).toLowerCase();
+
+ return String.format('{0}', vv);
+ },
sm : 1,
xs : 1,
xns : Roo.grid,