itables icon indicating copy to clipboard operation
itables copied to clipboard

WIP Support DataTables plugins

Open mwouts opened this issue 3 years ago • 2 comments

It would be great to support

  • [X] Search highlighting
  • [ ] Buttons
  • [ ] And the select extension.

Surprisingly, the search highlighting works! Thank you @qqdaiyu55 for suggesting that extension at #63, if you'd like to you can try the development version (documented at datatables_plugins.md with

pip install git+https://github.com/mwouts/itables.git@datatables_plugins

mwouts avatar Jun 23 '22 23:06 mwouts

For some reason the same approach does not seem to work for the button extension.

I get an error "u is undefined" when I try to load https://cdn.datatables.net/buttons/2.2.3/js/dataTables.buttons.min.js. @AllanJard, is this the sign of an incompatibility between the ES version of DataTables and the button extension?

By the way I realize that I should better start from a working example of the buttons - I've extracted a minimal button exemple (with plain scripts only) at http://live.datatables.net/yecukepe/8/edit

mwouts avatar Jun 23 '22 23:06 mwouts

Buttons (and all the other extensions) do not yet have ES Module support I'm afraid.

AllanJard avatar Jun 27 '22 08:06 AllanJard

Superseded by #235

mwouts avatar Mar 05 '24 21:03 mwouts