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]: dataTable表格能不能增加底部 汇总,对应每一个列的求和平均或者计数,方法可以我们自己写,接口要留出来 #295

Open
bulesky520 opened this issue Dec 21, 2022 · 3 comments

Comments

@bulesky520
Copy link

What problem does this feature solve

dataTable表格能不能增加底部 汇总,对应每一个列的求和平均或者计数,方法可以我们自己写,接口要留出来

What does the proposed API look like

@foolmadao
Copy link

感觉没有必要。这种需求很定制化,组件参数驱动的话很难满足各种变化,加太多参数又会导致太复杂。

你自己实现也很简单,模板模式的话在最后一行渲染多个tr,column模式的话datasource加数据做数据驱动就可以了。

@ihamlet
Copy link

ihamlet commented Feb 11, 2023

自己写个table吧

@RobersonLuo
Copy link

我也需要这个功能,非常有必要!
不过实现通用的<最大值、最小值、求和、平均值>等聚合函数功能就好。

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

4 participants