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

列隐藏的数据点击后展开 #271

Closed
hanxiao123 opened this issue Aug 8, 2022 · 4 comments
Closed

列隐藏的数据点击后展开 #271

hanxiao123 opened this issue Aug 8, 2022 · 4 comments

Comments

@hanxiao123
Copy link

希望能加入一个功能:列隐藏的数据点击箭头后可以展开全部
image
image
列数据较多时,能有一个按钮展开显示全部数据

@hanxiao123
Copy link
Author

image

@baukh789
Copy link
Owner

baukh789 commented Aug 9, 2022

收到,感谢反馈。
目前该需求可以在template内自行实现,再次感谢。

@hanxiao123
Copy link
Author

请问如果自行实现,怎样知道当前列的部分信息是有被隐藏的?

@baukh789
Copy link
Owner

可以在渲染前获取文本的宽度,如果文本宽度超出了td的宽度就是有文本被隐藏了。
或者你可以用另外一种方式: 在模板内对文本进行换行处理。

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

No branches or pull requests

2 participants