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 表格需要进一步加强功能 #2261

Open
sfwxp945 opened this issue Apr 26, 2023 · 0 comments
Open

Table 表格需要进一步加强功能 #2261

sfwxp945 opened this issue Apr 26, 2023 · 0 comments
Labels
Feature Request 新功能请求

Comments

@sfwxp945
Copy link

What problem does this feature solve?(这个功能解决的问题)

目前的表格只能用于展示内容,当需要有操作的时候(比如,删除,审核等),需要使用render来进行自定义处理。一般在后端给数据之后,再去数据里面加入render函数,使用起来特别不方便。
目前希望能加强一下Table组件的功能,1、加入索引配置:目前要实现索引也需要使用render;2、加入行点击事件;3、加入开启选择配置:就是在第一列加入checkbox,可以用于选择当前行数据,以及全选,同时配置select、select-all、select-change的事件;4:自定义内容使用slot自由的进行配置而不是render

What does the proposed API look like?(期望的 API)

1、index=true/false;2、@row-click=func 3、selection=true/false @select=function @select-change=function @select-all=function 4、在columns配置slot:true,即可开启当前列的slot

@eiinu eiinu added the Feature Request 新功能请求 label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request 新功能请求
Projects
None yet
Development

No branches or pull requests

2 participants