Skip to content

chris31415926535/solidjs-datatables.net

Repository files navigation

DataTables.net working with SolidJS

This small demo shows the DataTables jQuery library working in SolidJS.

This may not be the best solution! But it's the only way I've been able to get it to work.

Note also! I haven't confirmed that reactivity works with this yet...

There are four steps:

  1. Include the datatables css file in index.html.
  2. In App.tsx, import jQuery from 'jquery' and then import 'datatables.net'.
  3. Create an hmtl table and make note of its id.
  4. Make the table a datatable with jQuery(function() {jQuery('#table_id').dataTable();});.

About

DataTables.net working with SolidJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages