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

[table] 当设置固定某列时,是否考虑固定的列不可拖拽? #2333

Closed
luoyu-233 opened this issue Feb 3, 2023 · 5 comments
Closed
Assignees
Labels
💪🏻 enhancement New feature or request to be published to be published

Comments

@luoyu-233
Copy link

这个功能解决了什么问题

当拖拽固定住的那个列的时候,会发生位置错乱是否考虑禁用禁止拖拽固定住的那列
或者再优化一下拖拽列
image
image

这个问题是我在组件库文档
可表头吸顶/表尾吸顶的表格发现的,

你建议的方案是什么

是否考虑禁用禁止拖拽固定住的那列
或者再优化一下拖拽列

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

👋 @luoyu-233,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

♥️ 有劳 @realyuyanan @Louiszhai @PengYYYYY @chaishi 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @luoyu-233

@NeilWong84
Copy link

我刚去看了docs,这个不是bug。demo中了表格设置了属性可以按照colum拖拽
把这个属性drag-sort="col" 去掉。同时把绑定的事件@drag-sort 去掉即可

@chaishi chaishi added the 💪🏻 enhancement New feature or request label Feb 11, 2023
@chaishi
Copy link
Collaborator

chaishi commented Feb 15, 2023

考虑,后续会实现

@chaishi
Copy link
Collaborator

chaishi commented Mar 5, 2023

resolved in #2515, 实现效果如下,禁止固定状态列的拖拽

2023-03-05.2.10.43.mov

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

No branches or pull requests

4 participants