You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a commercial license for Univer, please refer to [Using License in Client](/guides/pro/license#in-plugin-mode) for configuration.
116
118
117
-
## Using the Outline Feature
119
+
## Facade API
120
+
121
+
Complete Facade API type definitions can be found in the [FacadeAPI](/reference/facade/univer).
122
+
123
+
### Importing
124
+
125
+
<Callouttype="info"title="Plugin mode note">
126
+
Only plugin mode requires manually importing the Facade package. Preset mode already includes the corresponding Facade package, so no extra import is needed.
127
+
</Callout>
128
+
129
+
```typescript
130
+
import'@univerjs-pro/sheets-outline/facade'
131
+
```
118
132
119
133
### Creating Row Outlines
120
134
@@ -225,8 +239,6 @@ When creating outline groups, the following validations are performed:
225
239
-**Crossing groups**: New groups cannot cross existing groups.
226
240
-**Maximum depth**: There is a maximum nesting depth for outline groups.
227
241
228
-
If a validation fails, the command will not execute and an error will be emitted through the `SheetsOutlineErrorService`.
242
+
The range for ungrouping must fully contain the outline group range, otherwise the validation will fail.
229
243
230
-
## Facade API Reference
231
-
232
-
For a complete list of outline-related Facade APIs, please refer to the [Worksheet Facade API](/reference/facade/worksheet) documentation.
244
+
If a validation fails, the command will not execute and an error will be emitted through the `SheetsOutlineErrorService`.
0 commit comments