问题描述
如何隐藏roweditor cls。
我在extJS网格中使用行ediotr。当我单击编辑器时,它以高亮的mannner形式显示。
这是图像。我想删除在点击网格编辑器时发生的网格忽略。
listeners:{
'beforeedit':function(editor){
editor.getEditor().floatingButtons.hide();
}
},
任何帮助如何删除extJS网格中我的编辑器的高亮单元格
解决方法
只需在重新布局事件中隐藏RowEditingButtons:
listeners: {
'beforeedit': {
fn: function (editor) {
editor.getEditor().on('afterlayout',function (editorComponent) {
editorComponent.getFloatingButtons().hide();
});
},single: true
}
}