Would be really good if it was possible to export tables in different non HTML formats.
I see https://github.com/goinnn/django-tables2-reports which looks like it has similar goals, unfortunately it looks like this project has been abandoned (no updates since October 2014).
Hmmm. Just found the as_values()
function. Will give it a try. http://django-tables2.readthedocs.io/en/latest/pages/api-reference.html#django_tables2.tables.Table.as_values
Looks like as_values() returns the unicode dash (—) to indicate there is no value. Would be better if it returned something else instead, maybe None.
Fair point!
@brianmay, just pushed a fix for this to master, please have look if it fixes your issue.
I am not able to test it right now (having been reassigned to another project), however the change - and the corresponding test case - looks good. Thanks.
released 1.4.0