How can i create Datatable in Meteor.js. I tried to create one part not working.I have a server and client sides both in my project.The project is suppose to display the tables with categories in it.I need assistance on this.
You can use Datatables directly loading them using npm. But I have moved away from it to use Tabulator
"datatables.net-bs": "^1.10.16",
"datatables.net-buttons": "^1.5.1",
"datatables.net-buttons-bs": "^1.5.1",
I was using blaze
import dataTablesBootstrap from 'datatables.net-bs';
import 'datatables.net-bs/css/dataTables.bootstrap.css';
// Buttons Core
import dataTableButtons from 'datatables.net-buttons-bs';
// Import whichever buttons you are using
import columnVisibilityButton from 'datatables.net-buttons/js/buttons.colVis.js';
import html5ExportButtons from 'datatables.net-buttons/js/buttons.html5.js';
import flashExportButtons from 'datatables.net-buttons/js/buttons.flash.js';
import printButton from 'datatables.net-buttons/js/buttons.print.js';
// Then initialize everything you imported
dataTablesBootstrap(window, $);
dataTableButtons(window, $);
columnVisibilityButton(window, $);
html5ExportButtons(window, $);
flashExportButtons(window, $);
printButton(window, $);
There is lot of information available on net