Comments (3)
This is not supported yet. I can suggest either to perform post-processing of produced report using pure ClosedXML or contribute to the library by extending DeleteTag with dynamic conditions.
from closedxml.report.
@Pankraty Please can you share any documentation of post-processing? This could help me to have a look and think of this.
from closedxml.report.
@fingers10, once you've called template.Generate();
you can access the produced workbook via Workbook
property and do whatever you like with it:
var template = new XLTemplate(".template.xlsx");
template.AddVariable(model);
template.Generate();
var wb = template.Workbook;
wb.Worksheets.First().Column(3).Remove();
// and so on
wb.SaveAs("result.xlsx")
Documentation for ClosedXML can be found here.
Hope this will be helpful.
from closedxml.report.
Related Issues (20)
- in .net 8 its impossible to use ClosedXml newest version (0.102.1) with ClosedXml.Report 0.2.8 HOT 1
- Unknown identifier 'item' Issue
- One bad formula results in total report generation failure
- Slow to export HOT 1
- multi table in report
- ClosedXML to 0.102.2 HOT 3
- How can I have only one line of grouping recaps?
- closedxml.report is missing NuGet package README file
- [Help Needed] Convert to PDF under Linux HOT 1
- Multiple tables styles HOT 1
- Excel chart display
- Problem with record at https://docs.closedxml.io/en/latest/features/tables.html#table-name
- Is it possible to correlate data from multiple worksheets ? HOT 1
- After generating a report, shapes are not displayed in correct position
- Conditional formatting breaks in template with multiple tables one below other HOT 1
- Does this support .net 8? HOT 1
- need help with the template I can't figure out how to make horizontal and vertical lines
- How to add a column a flat table?
- Access original cell value from custom tag
- Can we use group merge label in horizontal table?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from closedxml.report.