Skip to content

Repeat the same behaviour on Ant Design Editable Table for React on Ant Design Vue 3? #5306

Discussion options

You must be logged in to vote

It was simpler than I thought it would be. Just changed the edit method to this and now it's working :)

edit(row, column) {
    for (let idx in this.editableData) {
        delete this.editableData[idx];
    }
    this.editableData[row + '|' + column] = this.tableData.data.filter((item) => row === item.key)[0][column];
},

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gabriellatavares
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant