ant-design / ant-design/pro-components

👑 [需求] EditableProTable 需要支持单个Cell的编辑功能。

Open
#9,643 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🔩 所属模块或组件

EditableProTable

### 🥰 需求描述

editable 需要支持下标控制,用户双击或单击了哪个cell然后再显示哪个可编辑的组件。目前使用:
`onCell: (record) => ({
onDoubleClick: () => {
setEditableRowKeys([record.key]);
},
}), `

这样整个行都会处于编辑状态。

Contributor guide

Open the contributing guide

Research direction

Start with the EditableProTable entry point and its editable configuration, then inspect how the onCell callback and editableRowKeys example currently activate editing. The change is done when a single cell selected by click or double-click shows its editable component without putting the whole row into edit mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.