plotly / dash-component-boilerplate

Get started creating your own Dash components here.
266 stars 182 forks source link

React table component for dash #79

Closed naren596 closed 4 years ago

naren596 commented 4 years ago

Hi,

I am trying to use react-table and dash-component-boiler plate to generate dash component. Please find the code here. In particular, I am testing pivoting and aggregation rows of react-table component. It seems to be working fine when I test it using "npm run start" but it doesn't work as a dash component using "python usage.py"

To expand more, react-table uses "aggregate" property with in column proptype to do aggregations. Since proptype func is not allowed in dash as per recommendation here, I am using a string property to introduce a function in react for aggregation. Aggregation seems to be working fine but on click is not expanding row in python dash component.

Can you please tell me what could be the possible reasons for this? I just started with react and not sure where to start with this problem. I don't see any errors in console if this helps.