WeihanLi/WeihanLi.Npoi

custom formatter enhancement

WeihanLi opened this issue · 0 comments

add support for much more customized formatter, for example:

ExcelHelper.SettingFor<TEntity>()
.Property(_=>_.Status)
  .HasColumnFormatter(s=>s.GetDisplayName() ?? s.ToString());