Excel export: get the type from columnDef

Excel export: get the type from columnDef

MaxggMaxgg Posts: 2Questions: 0Answers: 0

Description of problem

I would like the cells of a column to be of a certain type specified by the user for example through the columnDef.

Example

I have a column with 20-character numeric identifiers. I don't want the values to be recognized as "number", but that the cells have the type "text".

Proposal

In the addRow function, before the loop on the _excelSpecials, you could read the columnDef:
* if there is a specific type assigned for the column, create the column cells using the specific type,
* otherwise use the actual code to identify the content type and create the cell using the one identified

Replies

Sign In or Register to comment.