mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-29 18:38:08 +08:00
commit
c0c8621e94
16
README.md
16
README.md
@ -658,6 +658,22 @@ MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration);
|
||||
|
||||
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>
|
||||
|
||||
- The declaration is similar to Vue template `{{variable name}}`, or the collection rendering `{{collection name.field name}}`
|
||||
|
BIN
docs/images/freeze-pane-1.png
Normal file
BIN
docs/images/freeze-pane-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Loading…
Reference in New Issue
Block a user