Skip to content

v1.14.0

Compare
Choose a tag to compare
@sveinungf sveinungf released this 17 Mar 12:37
· 506 commits to main since this release

Features

  • Support for creating hidden columns by using ColumnOptions.Hidden. Thanks to @BredStik for the contribution!
  • The ColumnHeader attribute can now reference resource files (ResX) to have localized header names. For example, to reference a resource key Header_FirstName from resource file MyResources.resx:
    [ColumnHeader(typeof(MyResources), nameof(MyResources.Header_FirstName))]
    public string FirstName { get; }
    Note that the resource file must have a public access modifier. A row of header names can then in turn be created in a worksheet by calling Spreadsheet.AddHeaderRowAsync. This feature is not just limited to resource files, and can also similarly reference other public static properties.