Having mandatory and optional Columns
ozlerhakan opened this issue · 3 comments
Discussed in #203
Originally posted by bhelemilan August 11, 2021
With namedHeaderMandatory option set to true, if we use @ExcelCellName annotation, the field is mapped to respective column in excel sheet and becomes a mandatory.
Can it be extended to have some optional columns?
Example: An Excel sheet has 10 columns out of which 8 are mandatory and 2 to be optional. That means, we should be able to parse excel sheet with only 8 mandatory columns and with/without other 2 optional columns.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@bhelemilan You can use mandatory option in Poiji2
you can use Poiji 3.1.2 @bhelemilan Thanks!
Please refer to https://github.com/ozlerhakan/poiji#optional-mandatory-columns to make use of.