You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now we have an option to convert some text to another with using exportConversions option. However we can only have the same text for all data types, we can't have different text for example for Excel and for PDF files.
I would like the ability to have a 'toPdf' option inside exportConversions so I could display a HTML entity image in a PDF file, while it is not possible in an Excel one.
Scenario:
I have a lot of BooleanColumns in my grid and I don't want to replace them with "Yes/No" or "Active/Incative" texts, I would rather display a tick or a cross icon in the PDF.
Now we have an option to convert some text to another with using
exportConversions
option. However we can only have the same text for all data types, we can't have different text for example for Excel and for PDF files.I would like the ability to have a 'toPdf' option inside
exportConversions
so I could display a HTML entity image in a PDF file, while it is not possible in an Excel one.Scenario:
I have a lot of BooleanColumns in my grid and I don't want to replace them with "Yes/No" or "Active/Incative" texts, I would rather display a tick or a cross icon in the PDF.
Example:
I already wrote the code for it and it works just fine. For Excel it will print "Yes/No" while for PDF is shows icons. I'm submitting a pull request.
The text was updated successfully, but these errors were encountered: