Skip to content

ParameterRenderer的cell修改style后,所有cell都运用了该样式 #21

@pigwing

Description

@pigwing

public override void Render(SheetContext sheetContext, T dataSource)后
Cell cell = sheetContext.GetCell(location) as Cell;
cell.NpoiCell.CellStyle.FillForegroundColor = HSSFColor.Red.Index;
cell.NpoiCell.CellStyle.FillPattern = FillPattern.SolidForeground;
对cell设置底色,但是没设置底色的cell也跟这个设置了底色的cell一样底色了.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions