Hamza Javed
Hamza Javed

Reputation: 9

HTML table data in csv

DIV(TABLE(*[TR(response) for response in data],_id='records_table', _class='table table-bordered'),_class='table-responsive')) 

using this DIV tag in python controller, I want to download the html table data in csv for which I need to add id.

Please tell me how I can add id in this given line.

Upvotes: 0

Views: 76

Answers (2)

user14565412
user14565412

Reputation:

You should use in template. You should return rendered data. Div is used in template.

Upvotes: 0

Türkalp
Türkalp

Reputation: 188

You should review Datatables Package

Upvotes: 1

Related Questions