tablib icon indicating copy to clipboard operation
tablib copied to clipboard

Export HTML with Optional Class

Open woozyking opened this issue 12 years ago • 2 comments

Just wondering where would be the right place to put such an optional argument so that the exported HTML has a class attribute in the <table> tag.

I'm thinking of __init__ of Dataset class.

woozyking avatar Mar 14 '14 17:03 woozyking

It is not possible to configure exporters with current API.

I have a branch https://github.com/kennethreitz/tablib/tree/import_export with some ideas about how to do it.

Check the issue #46 for more information.

You still have to change the HTML exporter to make it work.

iurisilvio avatar Mar 14 '14 19:03 iurisilvio

Awesome @iurisilvio I'll check that branch out to understand better what #46 is about (seems highly relavent) and hopefully contribute some ideas and codez

woozyking avatar Mar 14 '14 19:03 woozyking