Skip to content

Commit c0c8621

Browse files
authored
Merge pull request #631 from meld-cp/master
add docs for Freeze Panes
2 parents 4fd14f2 + 364841f commit c0c8621

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,22 @@ MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration);
658658

659659
Works for null and DBNull values.
660660

661+
#### 14. Freeze Panes
662+
```csharp
663+
/* ... */
664+
665+
OpenXmlConfiguration configuration = new OpenXmlConfiguration()
666+
{
667+
FreezeRowCount = 1, // default is 1
668+
FreezeColumnCount = 2 // default is 0
669+
};
670+
671+
MiniExcel.SaveAs(@"C:\temp\Book1.xlsx", dt, configuration: configuration);
672+
```
673+
674+
![image](docs/images/freeze-pane-1.png)
675+
676+
661677
### Fill Data To Excel Template <a name="getstart3"></a>
662678

663679
- The declaration is similar to Vue template `{{variable name}}`, or the collection rendering `{{collection name.field name}}`

docs/images/freeze-pane-1.png

3.08 KB
Loading

0 commit comments

Comments
 (0)