ViewUIPlus icon indicating copy to clipboard operation
ViewUIPlus copied to clipboard

[Feature Request]可以把table的文档api使用方法完善一下吗?

Open 5563 opened this issue 1 year ago • 0 comments

What problem does this feature solve?

有个需求 点击整行内容任意地方选中多选框, 开始自己用slot 自定义一个多选框的实现这个功能, 后来百度搜索发现table有内置属性可以触发多选 this.$refs.tableRef.toggleSelect(index) ,但是在文档上没有发现,走了很多弯路

What does the proposed API look like?

handleRowClick(record,index) {
  if(!record._disabled){
    this.$refs.tableRef.toggleSelect(index)
  }
},

5563 avatar Sep 25 '23 09:09 5563