Skip to content

Implement ISheet.Cells[] and ISheet.Rows[]#1695

Merged
tonyqus merged 17 commits into
nissl-lab:masterfrom
tonyqus:cellrange
Feb 25, 2026
Merged

Implement ISheet.Cells[] and ISheet.Rows[]#1695
tonyqus merged 17 commits into
nissl-lab:masterfrom
tonyqus:cellrange

Conversation

@tonyqus
Copy link
Copy Markdown
Member

@tonyqus tonyqus commented Feb 22, 2026

Implement #1448

Supported Syntax

Cell Range

var cellRanges = sheet.Cells["B1:D3"]; // cell range
var cellRanges = sheet.Cells["A1"]; //Single cell
sheet.Cells["A1:B2"].Value="Hello World";
sheet.Cells["A1:B2"].SetCellValue("Hello World");
sheet.Cells["A1:B2"].Formula = "A1+B1"
sheet.Cells["A1:B2"].SetCellComment(comment)
sheet.Cells["A1:B2"].Where(c=>c.RowIndex==2) (LINQ Support)
sheet.Cells["A1:B2"].Texts //returns text value array

Row Range

sheet.Rows[1, 5].Height=500
sheet.Rows[1, 5].Group()
sheet.Rows[1, 5].Ungroup()

Extra Fixes

implement XSSFSheet.SetActiveCellRange
implement XSSFRow.SetRowStyle
implement SXSSFRow.GetEnumerator

@tonyqus tonyqus changed the title Implement ISheet.Cells selector Implement ISheet.Cells[] selector Feb 22, 2026
@tonyqus tonyqus changed the title Implement ISheet.Cells[] selector Implement ISheet.Cells[] and ISheet.Rows[] Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant