Open Freymaurer opened 1 year ago
Why is this not
AddCell
(same forworksheet.Table
)? Why is there no "GetCell", even if i need to pass an additional cellcollection.
Because the functionality is taken from spiritual role model ClosedXML which names it the same. .Cell
is .GetCell
if at given position a cell is present or .AddCell
if it is not.
I too am not happy about this naming (and would prefer .GetOrAddCell
) but this is up to debate with other library contributors.
Why can i access
HeaderRow
, but not body?
Again, because there's no equivalent in ClosedXML. In addition, there is no equivalent in MS Excel. It does not differentiate between header and body. There is only the full table and, as a subset, the header row.
What is a field?
A TableField. Again a class derived from ClosedXML's pendant which is defined as a header cell and its data cells. "TableField" is a strange name, "TableColumn" would make more sense to me but blame the ClosedXML guys for this. 😂
In addition, there is no equivalent in MS Excel. It does not differentiate between header and body.
Even if that is true, the api contains the HeaderRow
property and office-js gives extensive api functions for both header and body.
A TableField. Again a class derived from ClosedXML's pendant which is defined as a header cell and its data cells. "TableField" is a strange name, "TableColumn" would make more sense to me but blame the ClosedXML guys for this. 😂
This is a bad reason in my opinion. Why not improve f# wrapper api over ClosedXML/OpenXML api.
In addition, there is no equivalent in MS Excel. It does not differentiate between header and body.
Even if that is true, the api contains the
HeaderRow
property and office-js gives extensive api functions for both header and body.
office-js also seems superior to OpenXML to me.
A TableField. Again a class derived from ClosedXML's pendant which is defined as a header cell and its data cells. "TableField" is a strange name, "TableColumn" would make more sense to me but blame the ClosedXML guys for this. 😂
This is a bad reason in my opinion. Why not improve f# wrapper api over ClosedXML/OpenXML api.
You know how it is, everything must be done quickly and therefore you end up that way. 😅
Then please take this issue not as [Discussion] but as [Feature Request]. Be it for a more clear api, ore api functions or documentation.
Without any documentation the table api seems impossible to navigate, as it does not use any common vocabularies from spreadsheet manipulation.
What is a field?
Why is this not
AddCell
(same forworksheet.Table
)? Why is there no "GetCell", even if i need to pass an additional cellcollection.Why can i access
HeaderRow
, but not body?In addition #45