-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Render the TemplateColumn content when exporting #470
Render the TemplateColumn content when exporting #470
Comments
We already have something like this, it's called A possible solution to the |
Or provide a best practice :)
So here is my use case.
In some columns, I don't display the model/DB value straight but rather some HTML, like to make a project name a link to a project.
With the export feature introduced in 1.8.0, the TemplateColumn template is rendered to HTML BUT the HTML is not interpreted.
If I compare that to django_tables_report, they do evaluate the HTML and get rid of the
span
,a
or whatever I put in there.WDYT?
Alternatively should we have different column definition (one way or another) for export vs HTML rendering?
Thanks
The text was updated successfully, but these errors were encountered: