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组件期望能类似element ui的table一样,当column内容过长时实现ellipse使用...显示 #1238

Closed
1 task
calebzhao opened this issue Sep 29, 2019 · 8 comments
Labels
Accept You are right, we should do that enhancement outdated

Comments

@calebzhao
Copy link

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

What problem does this feature solve?

目前table的内容过长时会换行显示,样式完全错位

What does the proposed API look like?

Table组件期望能类似element ui的table一样,当cell内容过长时使用...显示, 当鼠标移到cell上时使用tooltip显示完整内容,

ant design类似的issuse:ant-design/ant-design#5753

ant design的pull:ant-design/ant-design#17284

@calebzhao calebzhao changed the title Table组件期望能类似element ui的table一样,当cell内容过长时使用...显示 Table组件期望能类似element ui的table一样,当cell内容过长时实现ellipse使用...显示 Sep 29, 2019
@calebzhao calebzhao changed the title Table组件期望能类似element ui的table一样,当cell内容过长时实现ellipse使用...显示 Table组件期望能类似element ui的table一样,当column内容过长时实现ellipse使用...显示 Sep 29, 2019
@tangjinzhou tangjinzhou added Accept You are right, we should do that enhancement labels Sep 29, 2019
@QifanChan
Copy link

目前我们是手动做的。。

@calebzhao
Copy link
Author

目前我们是手动做的。。

虽然自己能做,但是太麻烦了,有很多属性要显示时,为了做这个效果还得一个个写slot, 搞tooltip,表格在管理系统中大量使用,像element-ui那样做成属性,超长内容只需要添加一个show-overflow-tooltip多好

@QifanChan
Copy link

QifanChan commented Oct 9, 2019 via email

@sendya
Copy link
Member

sendya commented Oct 9, 2019

目前我们是手动做的。。

虽然自己能做,但是太麻烦了,有很多属性要显示时,为了做这个效果还得一个个写slot, 搞tooltip,表格在管理系统中大量使用,像element-ui那样做成属性,超长内容只需要添加一个show-overflow-tooltip多好

照这个 PR 给 vue antd 也来个 PR?
ant-design/ant-design#17284

@QifanChan
Copy link

QifanChan commented Oct 9, 2019 via email

@calebzhao
Copy link
Author

calebzhao commented Oct 9, 2019

目前我们是手动做的。。

虽然自己能做,但是太麻烦了,有很多属性要显示时,为了做这个效果还得一个个写slot, 搞tooltip,表格在管理系统中大量使用,像element-ui那样做成属性,超长内容只需要添加一个show-overflow-tooltip多好

照这个 PR 给 vue antd 也来个 PR?
ant-design/ant-design#17284

有心无力,我做java后台开发的,vue这一套只是在项目中大量使用而已,并没有到源码的地步,时间精力不允许,项目中就是自己封装一些简单的组件自己使用而已,创业型公司1个人搞1个项目那种,复杂界面花钱请第三方,简单界面自己搞

@QifanChan
Copy link

QifanChan commented Oct 9, 2019 via email

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accept You are right, we should do that enhancement outdated
Projects
None yet
Development

No branches or pull requests

5 participants