I'm using DataTables with an ajax request to display data in a table on a website. I want to create a simple pivot table to count some of the data. The simple HTML example works when I copy/paste the DataTables generated data as a static table, but it will not work if I try to run pivottables script at the same time as the DataTables dynamic loaded data script.
Any fix for this or suggestions? I tried deferring the pivot table script or delaying until after domcontentloaded, but it does not work.
I'm using DataTables with an ajax request to display data in a table on a website. I want to create a simple pivot table to count some of the data. The simple HTML example works when I copy/paste the DataTables generated data as a static table, but it will not work if I try to run pivottables script at the same time as the DataTables dynamic loaded data script.
Any fix for this or suggestions? I tried deferring the pivot table script or delaying until after domcontentloaded, but it does not work.