Hi,
Very stupid question but how can I make aldeed:tabular pick up the css I’ve created from the Datatables theme creator?
The css file looks like this:
Hi,
Very stupid question but how can I make aldeed:tabular pick up the css I’ve created from the Datatables theme creator?
The css file looks like this:
Add your CSS somewhere that Meteor can find it (e.g. in /client/main.css
), then make sure your {{> tabular ...}}
call has a dataTable
class selector assigned to it. For example:
{{> tabular class="dataTable ..." ...}}
Thanks @hwillson, I realized Bootstrap is installed with aldeed:tabular and decided to stick with that as it might be easier. Also, it seemed not every part of CSS was being rendered, like these elements:
The way I fixed this was to take the CDN route:
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css