-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Description
Is your feature request related to a problem? Please describe.
I cannot load a CSV without a file but my data is from Thymleaf and hence in memory already.
Describe the solution you'd like
Something like this:
CsvToHtmlTable.init({
//csv_path: 'data/Health Clinics in Chicago.csv',
csv_data: [(${o.getCsv()})];
element: 'table-container',
allow_download: true,
csv_options: {separator: ',', delimiter: '"'},
datatables_options: {"paging": false}
});
where csv_data is simply a string with a CSV file.
Describe alternatives you've considered
Creating temporary files or providing URLs to download the CSV content again seems unnecessary.
Additional context
glapworth, pistolario, kenleese and Gaveroid
Metadata
Metadata
Assignees
Labels
No labels