mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-29 18:38:08 +08:00
add docs for Freeze Panes
This commit is contained in:
parent
4fd14f2174
commit
364841f92e
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.
|
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}}`
|
||||||
|
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