隱藏列表按鈕

在開發過程當中,發現字段爲weigh的排序功能好像沒有用,因此先去除了了列表的按鈕。api

 

{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: function (value, row, index) {
                            var that = $.extend({}, this);
                            var table = $(that.table).clone(true);
                            $(table).data("operate-dragsort", null);
                            that.table = table;
                            return Table.api.formatter.operate.call(that, value, row, index);
                        }}

修改位置:在對應菜單js裏,以下this

相關文章
相關標籤/搜索