ant-design / ant-design/pro-components

👑 [需求] EditableProTable求一个行锁定功能

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

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🔩 所属模块或组件

EditableProTable

### 🥰 需求描述

editableFormRef 求新增一个 根据rowIndex 锁定当前行的功能。

原因如下:
可编辑表单一般是作为批量动态新增数据使用,但是并不是每一次所有数据都是纯新增的。效果如下图:

![Image](https://github.com/user-attachments/assets/3d060c7d-5dcc-4f3d-89e4-27bfa202ba17)

### ⛰ 功能需求适用场景

为某个数据添加附属列表时,并且添加的附属列表数据可以复用

### 🧐 解决方案

editableFormRef 求新增一个 根据rowIndex 锁定当前行的功能。

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start at the EditableProTable and editableFormRef entry points, then inspect how rows are currently edited and identified by rowIndex. Done means the component exposes a row-locking capability for a selected row and its behavior is covered by the existing project checks.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.