diff --git a/workflow/engine/templates/pmTables/data.js b/workflow/engine/templates/pmTables/data.js index 2107a9376..345b3f572 100755 --- a/workflow/engine/templates/pmTables/data.js +++ b/workflow/engine/templates/pmTables/data.js @@ -19,16 +19,16 @@ var isReport; Ext.onReady(function(){ pageSize = 20; //parseInt(CONFIG.pageSize); - + isReport = tableDef.PRO_UID ? true : false; - + newButton = new Ext.Action({ text : _('ID_ADD_ROW'), iconCls : 'button_menu_ext ss_sprite ss_add', handler : NewPMTableRow, disabled: (isReport ? true : false) }); - + editButton = new Ext.Action({ text : _('ID_EDIT'), iconCls : 'button_menu_ext ss_sprite ss_pencil', @@ -64,34 +64,35 @@ Ext.onReady(function(){ handler: genDataReport, disabled: false }); - + backButton = new Ext.Action({ text : _('ID_BACK'), icon : '/images/back-icon.png', handler : BackPMList }); - + contextMenu = new Ext.menu.Menu({ items : [ editButton, deleteButton ] }); - + //This loop loads columns and fields to store and column model _columns = new Array(); _fields = new Array(); _idProperty = '__index__'; - //default generated id + //default generated id _columns.push({ id : _idProperty, - hidden : true + hidden : true, + hideable: false }); _fields.push({name: _idProperty}); - + for (i=0;i