Skip to content
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

支持通过 columnIndex 参数控制树形表格展开按钮的位置 #1035

Open
junqiyue opened this issue Aug 27, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@junqiyue
Copy link

描述:
目前,树形表格组件中的展开功能(箭头按钮)默认放置在第一列(即 columnIndex === 0)。然而,在某些使用场景下,允许开发者指定展开按钮所在的列会更加灵活。例如,将展开按钮放置在第三列可以在某些情况下提高表格的可读性和布局美观度。

预期行为:
建议为树形表格组件添加一个 columnIndex 或类似的配置项,允许开发者指定展开按钮显示在哪一列。

当前行为:
目前,树形表格展开按钮只能显示在第一列。这种限制减少了表格设计和布局的灵活性。

@Javey Javey added the enhancement New feature or request label Aug 27, 2024
@Javey
Copy link
Member

Javey commented Aug 27, 2024

有相关设计的截图吗?

@junqiyue
Copy link
Author

image
@Javey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants