Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions content/guides/sheets/features/core/freeze.ja-JP.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
title: ウィンドウ枠の固定(Freeze)
---

<Callout type="warning">
固定は現在の選択範囲の左上セルを基準点として行われます。したがって、選択セルが A1 の場合、固定は実質的に効果を持ちません。
</Callout>

[`IWorksheetData.freeze`](/guides/sheets/model/workbook-data) を利用してワークシートの固定状態を設定できます。インターフェース定義は以下のとおりです:

```typescript
Expand Down Expand Up @@ -40,11 +36,6 @@ interface IFreeze {
}
```

最初の 1 行と 1 列のみを固定するなど、カスタム固定機能を実装したい場合は以下を参照してください:

- [カスタムメニュー](/guides/recipes/tutorials/custom-plugin)
- [SetFrozenCommand](https://github.com/dream-num/univer/blob/dev/packages/sheets/src/commands/commands/set-frozen.command.ts#L32)

## Facade API

`FWorksheet` クラスは行および列の固定状態を管理するための複数のメソッドを提供します。これらにより、固定の設定、取得、解除が可能です。
Expand Down
9 changes: 0 additions & 9 deletions content/guides/sheets/features/core/freeze.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
title: Freeze
---

<Callout type="warning">
Freezing uses the top-left corner of the current selection as the freeze point. Therefore, if the current selection is cell A1, freezing will not be effective.
</Callout>

[`IWorksheetData.freeze`](/guides/sheets/model/workbook-data) can be used to configure the freeze state of a worksheet. Its interface definition is as follows:

```typescript
Expand Down Expand Up @@ -40,11 +36,6 @@ For example, if I want to freeze column B and row 2, I can configure it like thi
}
```

If you want to implement custom freeze functionality, such as freezing the first row and first column, you can refer to:

- [Custom Menu](/guides/recipes/tutorials/custom-plugin)
- [SetFrozenCommand](https://github.com/dream-num/univer/blob/dev/packages/sheets/src/commands/commands/set-frozen.command.ts#L32)

## Facade API

The `FWorksheet` class provides several methods to manage the freeze state of rows and columns in a worksheet. These methods allow you to set, get, and cancel frozen panes.
Expand Down
9 changes: 0 additions & 9 deletions content/guides/sheets/features/core/freeze.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
title: 冻结
---

<Callout type="warning">
冻结以当前选区的左上角单元格的左上角作为冻结点。所以如果当前选区是 A1 单元格,则使用取消冻结。
</Callout>

[`IWorksheetData.freeze`](/guides/sheets/model/workbook-data) 可以配置工作表的冻结状态。它的接口定义如下:

```typescript
Expand Down Expand Up @@ -40,11 +36,6 @@ interface IFreeze {
}
```

如果想实现自定义冻结功能,例如:冻结首行和首列,可以参考:

- [自定义菜单](/guides/recipes/tutorials/custom-plugin)
- [SetFrozenCommand](https://github.com/dream-num/univer/blob/dev/packages/sheets/src/commands/commands/set-frozen.command.ts#L32)

## Facade API

`FWorksheet` 类提供了几种方法来管理工作表中行和列的冻结状态。这些方法允许你设置、获取和取消冻结窗格。
Expand Down
Loading