csv-to-html-table icon indicating copy to clipboard operation
csv-to-html-table copied to clipboard

datatables_options "processing": true did not work

Open riffraff78 opened this issue 5 years ago • 1 comments

Hi! I've tried to add "processing": true to the datatables_options to display a 'processing' indicator, but this didn't work. datatables_options: {"processing": true} How can i do that? Also: Can i add more than one option comma separated? Thanks a lot!

riffraff78 avatar Oct 12 '20 09:10 riffraff78

@riffraff78 you should be able to add it to datatables_options. Does this work for you?

CsvToHtmlTable.init({
    csv_path: "data/Health Clinics in Chicago.csv",
    element: "table-container",
    allow_download: true,
    csv_options: {
        separator: ",",
        delimiter: '"'
    },
    datatables_options: {
        processing: true
    },
    custom_formatting: [
        [4, format_link]
    ]
});

derekeder avatar Mar 27 '21 03:03 derekeder