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

feat(frozen-panel): 增加行列头冻结配置面板 #2782

Merged
merged 10 commits into from
Jun 21, 2024
15 changes: 9 additions & 6 deletions packages/s2-core/src/common/interface/s2Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,18 +353,21 @@ export interface S2PivotSheetOptions {
cornerExtraFieldText?: string;
}

export interface S2Options<
T = TooltipContentType,
P = Pagination,
Menu = BaseTooltipOperatorMenuOptions,
> extends S2BasicOptions<T, P, Menu>,
S2PivotSheetOptions {
export interface S2FrozenOptions {
/**
* 行列冻结
*/
frozen?: S2PivotSheetFrozenOptions & S2BaseFrozenOptions;
}

export interface S2Options<
T = TooltipContentType,
P = Pagination,
Menu = BaseTooltipOperatorMenuOptions,
> extends S2BasicOptions<T, P, Menu>,
S2PivotSheetOptions,
S2FrozenOptions {}

/**
* 自定义渲染模式
*/
Expand Down
Loading
Loading