New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当嵌套表格 rowSelection 中 type 属性设置为 radio 时,没有配置设置 单选 那一列的列名称!! #11042

Closed
littleLane opened this Issue Jun 26, 2018 · 16 comments

Comments

Projects
None yet
7 participants
@littleLane
Contributor

littleLane commented Jun 26, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.1.4

Environment

mac、 chrome、 antd v3.1.4

Reproduction link

https://codepen.io/littlelane/pen/qKMNGb?editors=0010

Steps to reproduce

expandedRowRender: () => {
      return (
        <Table 
          columns={[].concat(columns)} 
          dataSource={[].concat(data)}
          rowSelection={{
            type: 'radio',
          }}
        />
      )
    },

What is expected?

有相关配置设置该列名称

What is actually happening?

目前好像没有相关配置参数

@ant-design-bot

This comment has been minimized.

ant-design-bot commented Jun 26, 2018

Translation of this issue:


When the type attribute of the nested table rowSelection is set to radio, the column name of the column for the selected radio is not configured!!

  • [] I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.1.4

Environment

Mac, chrome, antd v3.1.4

Reproduction link

https://codepen.io/littlelane/pen/qKMNGb?editors=0010

Steps to reproduce

expandedRowRender: () => {
      Return (
        <Table
          Columns={[].concat(columns)}
          dataSource={[].concat(data)}
          rowSelection={{
            Type: 'radio',
          }}
        />
      )
    },

What is expected?

There is a related configuration setting this column name

What is actually happening?

It seems that there are no related configuration parameters

@afc163

This comment has been minimized.

Member

afc163 commented Jun 29, 2018

你希望配置的列名具体是什么?

@littleLane

This comment has been minimized.

Contributor

littleLane commented Jun 29, 2018

image

@afc163

This comment has been minimized.

Member

afc163 commented Jun 29, 2018

我知道,具体业务上希望写什么内容,有一些实例会比较好判断 API 的提供方式。

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Jul 25, 2018

@0maxxam0 funded this issue with $10. Visit this issue on Issuehunt

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Jul 25, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Jul 25, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Jul 28, 2018

@gaoac

This comment has been minimized.

gaoac commented Aug 15, 2018

@littleLane columnTitle

@afc163

This comment has been minimized.

Member

afc163 commented Aug 15, 2018

@gaoac columnTitle 就是楼主提的 PR....

@capaten

This comment has been minimized.

capaten commented Aug 22, 2018

@afc163 我试着使用了,可是依然没有出现标题,怎么回事啊?
1
2

@littleLane

This comment has been minimized.

Contributor

littleLane commented Aug 22, 2018

@capaten 你用的什么版本的 antd ?
3.8.0 版本才有这个属性

@capaten

This comment has been minimized.

capaten commented Aug 22, 2018

@littleLane 3.10.8
image

@littleLane

This comment has been minimized.

Contributor

littleLane commented Aug 22, 2018

哪来的 3.10.8?
最新的发布版本才 3.8.2

@capaten

This comment has been minimized.

capaten commented Aug 22, 2018

这个……抱歉我不太懂,那请问怎么查看我使用的是哪个版本呢?

@capaten

This comment has been minimized.

capaten commented Aug 22, 2018

抱歉抱歉,我在package.json里看到了,我使用的版本是3.6.4,感谢指正
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment