name: 'myac', index: '', width: 80, fixed: true, sortable: false, resize: false, formatter: 'actions', formatoptions: { keys: true, delbutton:false, delOptions: { recreateForm: true, beforeShowForm: beforeDeleteCallback }, formatter:"actionFormatter" },
然后在页面开始处增加如下代码:
$.extend($.fn.fmatter, { actionFormatter: function(cellvalue, options, rowObject) { var retVal = "显示在原来编辑按钮的按个地方的代码"; return retVal; } } );