Generator generates mistakes...
Generator generates mistakes...
Generator gives wrong link to bootstrap5 .css and .js files
and link to cdn:
GEThttps://cdn.datatables.net/v/bs5-5.0.1/jq-3.3.1/moment-2.18.1/jszip-2.5.0/pdfmake-0.1.36/dt-1.10.25/af-2.3.7/b-1.7.1/b-colvis-1.7.1/b-html5-1.7.1/b-print-1.7.1/cr-1.5.4/date-1.1.0/fc-3.3.3/fh-3.1.9/kt-2.6.2/r-2.2.9/rg-1.1.3/rr-1.2.8/sc-2.0.4/sb-1.1.0/sl-1.3.3/datatables.min.js
[HTTP/2 404 Not Found 120ms]
GEThttps://cdn.datatables.net/v/bs5-5.0.1/jq-3.3.1/moment-2.18.1/jszip-2.5.0/pdfmake-0.1.36/dt-1.10.25/af-2.3.7/b-1.7.1/b-colvis-1.7.1/b-html5-1.7.1/b-print-1.7.1/cr-1.5.4/date-1.1.0/fc-3.3.3/fh-3.1.9/kt-2.6.2/r-2.2.9/rg-1.1.3/rr-1.2.8/sc-2.0.4/sb-1.1.0/sl-1.3.3/datatables.min.css
[HTTP/2 404 Not Found 151ms]
is not working
This question has accepted answers - jump to:
Answers
How did you generate those URLs? If I use the Download Builder, and select all the components as you have, I get this URL:
https://cdn.datatables.net/v/bs5/jq-3.3.1/jszip-2.5.0/dt-1.10.25/af-2.3.7/b-1.7.1/b-colvis-1.7.1/b-html5-1.7.1/b-print-1.7.1/cr-1.5.4/date-1.1.0/fc-3.3.3/fh-3.1.9/kt-2.6.2/r-2.2.9/rg-1.1.3/rr-1.2.8/sc-2.0.4/sb-1.1.0/sp-1.3.0/sl-1.3.3/datatables.min.js
which works as expected.
Colin
I have used https://editor.datatables.net/generator/index
For software I selected all posibilities for bootstrap5: DataTables, Editor, AutoFill, Buttons, Column visibility, HTML5 export, Print view, ColReorder, DateTime, FixedColumns, FixedHeader, KeyTable, Responsive, RowGroup, RowReorder, Scroller, SearchBuilder, Select, Bootstrap 5, jQuery 3, Moment, JSZip, pdfmake
So it is not the Download Builder but the Generator
It works fine when I use Bootstrap4. Problem occurs when selecting Bootstrap5
Got it, thanks. I've raised it internally (DD-2000 for my reference) and we'll report back here when there's an update.
Cheers,
Colin
Thanks Collin
Hi Colin,
There is still no update on Generator? Bootstrap5 is still not working...
I thought we'd got this fixed - either we did and it is broken again, or my memory is faulty. I'll look into this tomorrow (Monday).
Allan
Hi Ficos,
Can you try again, please. We've just released a fix (Allan's memory was faulty, we hadn't addressed it) - and it's working as expected for me now:
https://cdn.datatables.net/v/bs5/jqc-1.12.4/moment-2.18.1/jszip-2.5.0/pdfmake-0.1.36/dt-1.11.5/af-2.3.7/b-2.2.2/b-colvis-2.2.2/b-html5-2.2.2/b-print-2.2.2/cr-1.5.5/date-1.1.2/fc-4.0.2/fh-3.2.2/kt-2.6.4/r-2.2.9/rg-1.1.4/rr-1.2.8/sc-2.0.5/sb-1.3.2/sp-2.0.0/sl-1.3.4/sr-1.1.0/datatables.min.js
Colin