Error using the 'presentation':'markdown' column argument

Hello dashers,

I am running into an issue that seemed to pop up out of nowhere. I’d successfully been using the columns argument ‘presentation’: ‘markdown’ until a few days ago when all of a sudden I started getting the following error when running the app:

Invalid argument columns[0].presentation passed into DataTable with ID “dash-data-table”.
Expected one of [“input”,“dropdown”].

(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser’s console.)

I haven’t changed any of the source code. Wondering if it has to do with a package upgrade or conflict?

Here is the code in context:

columns = [{'name': i.replace(' ', '\n'), 'id': i, 'presentation':'markdown', 'hideable': True} for i in df.columns]

Has anyone else run into this issue?

1 Like

Up! It happens to me, too.

I had the same issue, but was a problem of updating my Dash Render version, for some reason I don’t know, the Render version got to a version that do not have the markdown property. Then I realize it and made a proper update of the Dash Render last version and it works.
See in the error message if say something about Dash Render.
Hope it helps.

Indeed. I just got it to work updating dash-renderer to 1.8.3 from the 1.1.2 I previously had!

Many thanks for such a quick response!

:grinning: I’m glad it works!