I’m generating tables from pandas dataframes using dash_html_components. I am not using
dash_table_experiments because I need to conditionally format cell/row color by value - and
that feature is not yet ready for prime time in DTE (I am looking forward to it). My problem lies
in trying to implement simple table column sorting/filtering using some kind of JS library.
I’ve tried various libraries (sorttable.js, tablesorter jquery plugin) to no avail.
Adding JS to the /assets directory works as advertised - I’ve written tests that confirm that. However, I add
the libraries to the /assets directory and follow the library conventions such as adding a class name to a table, assigning an id to the table, making sure there are and
The JS libraries mentioned work fine for regular HTML tables created outside of Dash.
For whatever reason I can’t get it to work with tables I generate with Dash. I get no JS error messages, just
a static table rendering of my data - the columns are not sortable.
Is there something I am missing, or will this fundamentally not work due to a constraint in Dash that I am unaware of?
I’d be happy to supply examples.
Thanks and regards,
Peter