Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluent API support for ICell #257

Closed
artisvilcins opened this issue Aug 22, 2019 · 2 comments · Fixed by #1450
Closed

Fluent API support for ICell #257

artisvilcins opened this issue Aug 22, 2019 · 2 comments · Fixed by #1450

Comments

@artisvilcins
Copy link

Feature request!
When Generating new excel file I would want to be able to set cell value in one line with setting the cell type so that this:

                var cell = row.CreateCell(0);
                cell.SetCellType(CellType.Numeric);
                cell.SetCellValue(p.Id);

would become:
row.CreateCell(0).SetCellType(CellType.Numeric).SetCellValue(35)
In my opinion that would make a loot less code for large number of cells.

@tonyqus
Copy link
Member

tonyqus commented Jul 31, 2020

THere is no plan to support fluent API.

@tonyqus tonyqus added this to the NPOI vNext milestone Oct 8, 2021
@tonyqus tonyqus changed the title Set cell type inline with set cell value Fluent API support for ICell Oct 8, 2021
@tonyqus tonyqus modified the milestones: NPOI vNext, NPOI 2.7.1 Jun 23, 2023
@tonyqus tonyqus modified the milestones: NPOI 2.7.1, NPOI vNext May 3, 2024
@tonyqus tonyqus modified the milestones: NPOI vNext, NPOI 2.7.3 Nov 24, 2024
@tonyqus tonyqus modified the milestones: NPOI 2.7.3, NPOI 2.8.0 Nov 24, 2024
@tonyqus tonyqus added the api label Nov 25, 2024
@tonyqus tonyqus modified the milestones: NPOI 2.8.0, NPOI 2.7.3 Nov 25, 2024
@tonyqus
Copy link
Member

tonyqus commented Nov 26, 2024

Sorry, it takes 5 years to support fluent API. Hope it's not too late

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants