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

✨ [Feature]: ng版本data-table组件在视图模式下负责呈现单元格内容的自定义组件 #327

Closed
wujisui opened this issue Sep 23, 2023 · 2 comments

Comments

@wujisui
Copy link

wujisui commented Sep 23, 2023

What problem does this feature solve

自己做第二次封装,比如在表格的操作栏加入一些button(用于编辑、删除、预览、查看当前行数据)、select、input等等一系列的表单元素,甚至一些用来显示当前行数据的一些状态tag的子组件,这些组件可以通过column配置传递到二次封装的data-table组件

What does the proposed API look like

类似该插件 https://akveo.github.io/ng2-smart-table/#/documentation 里面的renderComponent

@wujisui wujisui changed the title ng版本data-table组件在视图模式下负责呈现单元格内容的自定义组件✨ [Feature]: ✨ [Feature]: ng版本data-table组件在视图模式下负责呈现单元格内容的自定义组件 Sep 23, 2023
@Simplelegant
Copy link
Collaborator

这个想法很棒,欢迎参与贡献共建哦

@foolmadao
Copy link

column模式下,组件提供了d-cell模板,你可以自行封装想添加的内容

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

3 participants