add docs for Freeze Panes

This commit is contained in:
meld-cp 2024-07-13 12:26:14 +12:00
parent 4fd14f2174
commit 364841f92e
2 changed files with 16 additions and 0 deletions

View File

@ -658,6 +658,22 @@ MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration);
Works for null and DBNull values. Works for null and DBNull values.
#### 14. Freeze Panes
```csharp
/* ... */
OpenXmlConfiguration configuration = new OpenXmlConfiguration()
{
FreezeRowCount = 1, // default is 1
FreezeColumnCount = 2 // default is 0
};
MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration);
```
![image](docs/images/freeze-pane-1.png)
### Fill Data To Excel Template <a name="getstart3"></a> ### Fill Data To Excel Template <a name="getstart3"></a>
- The declaration is similar to Vue template `{{variable name}}`, or the collection rendering `{{collection name.field name}}` - The declaration is similar to Vue template `{{variable name}}`, or the collection rendering `{{collection name.field name}}`

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB