extjs4.2 - actioncolumn xtype column header is showing Actions in column hide/show list -


in ext js grid, column xtype: actioncolumn, column header not showing in show/hide column list. comes 'actions' default actioncolumn column. can override actual column header in list of columns show/hide actioncolumn columns? image shows screenshow of examples sencha examples.

enter image description here

if want change label in columns, need use config called menutext actioncolumn

example: (https://fiddle.sencha.com/#fiddle/1944)

        {             xtype:'actioncolumn',             width:50,             menutext: 'my actions',             items: [{                 icon: 'extjs-build/examples/shared/icons/fam/cog_edit.png',  // use url in icon config                 tooltip: 'edit',                 handler: function(grid, rowindex, colindex) {                     var rec = grid.getstore().getat(rowindex);                     alert("edit " + rec.get('firstname'));                 }             },{                 icon: 'extjs-build/examples/restful/images/delete.png',                 tooltip: 'delete',                 handler: function(grid, rowindex, colindex) {                     var rec = grid.getstore().getat(rowindex);                     alert("terminate " + rec.get('firstname'));                 }             }]         } 

Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -