mwouts / itables

Pandas DataFrames as Interactive DataTables
https://mwouts.github.io/itables/
MIT License
740 stars 55 forks source link

WIP Support DataTables plugins #83

Closed mwouts closed 4 months ago

mwouts commented 2 years ago

It would be great to support

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 commented 2 years ago

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

AllanJard commented 2 years ago

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

mwouts commented 4 months ago

Superseded by #235