Skip to content

Component request: Table #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iainmwallace opened this issue Jul 2, 2017 · 6 comments
Closed

Component request: Table #64

iainmwallace opened this issue Jul 2, 2017 · 6 comments

Comments

@iainmwallace
Copy link

iainmwallace commented Jul 2, 2017

Hi,

Based on a suggestion in #53, I am calling out a couple of components that are very useful in the Shiny world.

It would be really useful to have a table component that can take a pandas data frame ( I believe that is the closest to the R data frame concept) or something similar and display its contents in a rich table that allows column filtering and row selection.

The DT package achieves this in Shiny - https://rstudio.github.io/DT/shiny.html

Perhaps we could wrap this as a component: https://react-table.js.org - the filtering options look great, https://react-table.js.org/#/story/custom-filtering

Thanks

Iain

@chriddyp
Copy link
Member

chriddyp commented Jul 3, 2017

Thanks @iainmwallace !

There is a new Table chart type being built as part of plotly.js. See plotly/plotly.js#1834 for more details and discussion.

@chriddyp
Copy link
Member

Summary of current solutions here: https://community.plot.ly/t/display-tables-in-dash/4707/13?u=chriddyp

@chriddyp
Copy link
Member

The latest version in dash-table-experiments includes filtering, sorting, and row-selection and is populated from Pandas DataFrames.

Dash DataTable Component

I'd consider this component functional enough to close this issue :) There is still more to come, so stay tuned in https://github.com/plotly/dash-table-experiments or https://community.plot.ly/t/display-tables-in-dash/4707/13?u=chriddyp

@Shashank-thrymr
Copy link

How to edit on a single cell of any row after editing it fixed on rendered dataframe. After that, it reflects always.

@chriddyp
Copy link
Member

How to edit on a single cell of any row after editing it fixed on rendered dataframe. After that, it reflects always.

@Shashank-thrymr - Could you ask this question the community forum? https://community.plot.ly/c/dash I'm happy to help you out there. Thanks :)

@pthakur4
Copy link

pthakur4 commented Feb 1, 2018

i have a problem, i was working on a table component, with a date time column, and 2 float columns, in this for the float columns i need to have the integer portion on a smaller font size and the decimal portion to be a bit larger? can we do anything like that? i thought of having an HTML table where we can do this, and then parsing to show up in dash, but not sure how it would work. Any help would be highly appreciated. Thanks very much in advance

HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 22, 2021
* Move badges around

* pass all env variables
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
AnnMarieW pushed a commit to AnnMarieW/dash that referenced this issue Jan 6, 2022
* Move badges around

* pass all env variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants