Skip to content

Setting format string on numeric column changes horizontal alignment from right to left #714

@SlimShaggy

Description

@SlimShaggy

Excel Type

  • XLSX
  • XLSM
  • CSV
  • OTHER

Upload Excel File

AlignmentBug.xlsx

MiniExcel Version

1.37.0

Description

Numeric colums are aligned to the right by default. However, after setting the Format property on the column, the alignment changes to the left, as if it was a text column.

Expected behavior: alignment should not change. Or even better, a separate property should be added to the column configuration to configure alignment.

Image

Image

Source code:
AlignmentBug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions