dash icon indicating copy to clipboard operation
dash copied to clipboard

[Feature Request] Mathjax support in DataTable

Open NilsUUID opened this issue 2 years ago • 2 comments

Hello Dash Community,

Dash v2.3.0 introduced Mathjax support in dcc.Markdown and dcc.Graph which is very nice for producing scientific dashboards.

Dash DataTable also provides the Markdown presentation option, but Mathjax does not seem to be activated in this case. This feature would be nice in order to display pretty-printed data in the table.

I tried outputing a $$ delimited LaTex formula in a MarkDown cell of DataTable but it didn't rendered with Mathjax (using Dash 2.6.0):

image

Thanks

NilsUUID avatar Aug 03 '22 09:08 NilsUUID

Are there any plans on implementing this? Would be very helpful to be able to write LaTex in column name etc...

TSheyd avatar May 17 '23 14:05 TSheyd

It seems like this isnt supported by data tables unfortunately: https://datatables.net/forums/discussion/59069/to-integrate-mathjax-with-datatables#Comment_161051

Folks seem to have gotten around this by hacking the raw HTML: https://stackoverflow.com/questions/35864810/mathjax-render-only-on-first-page-of-the-data-table

avivajpeyi avatar Sep 12 '23 04:09 avivajpeyi