Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

DataTable markdown error

$
0
0

@zoeyrose wrote:

I’m getting an error I don’t understand in DataTable.

columns = [{'name': i, 'id': i} for i in (dff.columns)]

works great.



As does

columns = [{'name': i, 'id': i, 'presentation': 'input'} for i in (dff.columns)]


However, while markdown should be supported (as noted in the docs and in the 1.8.0 release notes), when I try:

columns = [{'name': i, 'id': i, 'presentation': 'markdown'} for i in (dff.columns)]

I get the error

Invalid argument `columns[0].presentation` passed into DataTable with ID "datatable".
Expected one of ["input","dropdown"].

I tried with versions 1.8.0 and 1.9.0.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles