ant-design / ant-design/pro-components

Table组件和ProTable组件属性更新不同步问题

Open
#9,103 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### What problem does this feature solve?

本地开发警告Table的expandIconColumnIndex即将被废弃 建议我修改。但是我用的 是proTable组件 ,那 expandable={{
...,
expandIconColumnIndex: 4,}} 内 设置的expandIconColumnIndex没有 可用的新属性替代呀

### What does the proposed API look like?

我希望antd-pro也要做一下新属性兼容

Contributor guide

Open the contributing guide

Research direction

Start by tracing how ProTable passes its expandable prop to the underlying Table component, then compare the deprecated expandIconColumnIndex option with the replacement API described by the warning. Done means ProTable users can configure the replacement option without relying on the deprecated property, with the existing expandable behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.