@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