plotly / dash-table

OBSOLETE: now part of https://github.com/plotly/dash
https://dash.plotly.com
MIT License
420 stars 72 forks source link

Objects are not valid as a React child html.P() inside a dash_table.DataTable row #685

Open kirankotari opened 4 years ago

kirankotari commented 4 years ago

Objects are not valid as a React child (found: object with keys {props, type, namespace}). If you meant to render a collection of children, use an array instead.

(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.)

dash_table == 4.6.0

aiswaryasankar commented 4 years ago

facing the same issue any resolution?

alexcjohnson commented 4 years ago

Ah we should perhaps find a better way to detect this and give a better error message... the issue is you cannot use Dash components for the contents of a dash-table table. Only strings & numbers can go in the cells. You can use markdown (presentation: 'markdown' for the appropriate columns) to display richer content.