1.设置按键回车+箭头+tab健设置
:mouse-config="{selected: true}"
:keyboard-config="{ isArrow: true, isEnter: true, isEdit: true,isTab:true}"
2 表格编辑设置
:edit-config="{trigger: this.triggerFlag, mode: 'row', showIcon: false , activeMethod: activeRowMethod}"
目前项目用到这些
1.this.triggerFlag,可以代码控制,切换
2 activeRowMethod 判断,返回值决定是否可以编辑
3
@edit-closed="editSave"
@edit-actived="editActived"
@edit-disabled="editDisabledEvent"