Skip to content

Commit

Permalink
add docs for Freeze Panes
Browse files Browse the repository at this point in the history
  • Loading branch information
meld-cp committed Jul 13, 2024
1 parent 4fd14f2 commit 364841f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
Expand Down
Binary file added docs/images/freeze-pane-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 364841f

Please sign in to comment.