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] 数据汇总小计总计行列位置的配置 #650

Closed
semmywong opened this issue Nov 30, 2023 · 2 comments
Closed

[Feature] 数据汇总小计总计行列位置的配置 #650

semmywong opened this issue Nov 30, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request High Priority

Comments

@semmywong
Copy link

semmywong commented Nov 30, 2023

What problem does this feature solve?

image

数据汇总小计总计,目前是自动放置在最后一行或最后一列,是否可以通过配置参数可以放置到第N行或第N列(常用是第一行或最后一行,第一列或最后一列)

What does the proposed API look like?

  • 新增position配置项
export interface Total {
  // 是否显示总计
  showGrandTotals: boolean;
  // 是否显示小计
  showSubTotals: boolean;
  // 小计汇总维度定义
  subTotalsDimensions?: string[];
  // 默认'总计'
  grandTotalLabel?: string;
  // 默认'小计'
  subTotalLabel?: string;
 // TODO:放置位置
 position?: number | 'first' | 'last';
}
@fangsmile fangsmile added High Priority enhancement New feature or request labels Nov 30, 2023
@fangsmile fangsmile self-assigned this Dec 5, 2023
@fangsmile
Copy link
Contributor

0.17.0 will publish

@fangsmile
Copy link
Contributor

showGrandTotalOnTop
showSubTotalOnTop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request High Priority
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants