Title: Dropdown won't display · Issue #956 · plotly/dash-table · GitHub
Open Graph Title: Dropdown won't display · Issue #956 · plotly/dash-table
X Title: Dropdown won't display · Issue #956 · plotly/dash-table
Description: I am trying to create a dropdown feature inside a DataTable like this: Unfortunately I cannot click on the dropdown button and then trigger the full menu showing. Instead I have to manually type in the value I want into the cell for the ...
Open Graph Description: I am trying to create a dropdown feature inside a DataTable like this: Unfortunately I cannot click on the dropdown button and then trigger the full menu showing. Instead I have to manually type in...
X Description: I am trying to create a dropdown feature inside a DataTable like this: Unfortunately I cannot click on the dropdown button and then trigger the full menu showing. Instead I have to manually type in...
Opengraph URL: https://github.com/plotly/dash-table/issues/956
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dropdown won't display","articleBody":"\r\n\r\nI am trying to create a dropdown feature inside a DataTable like this:\r\n\r\n\r\nUnfortunately I cannot click on the dropdown button and then trigger the full menu showing. Instead I have to manually type in the value I want into the cell for the column.\r\nFor the working code example from the main website, [here](https://dash.plotly.com/datatable/dropdowns), I get this HTML upon inspection - the .Select-menu-outer in particular seems to be what we're after.\r\n\r\n\r\nThis doesn't appear to be a CSS override issue as I am unable to trigger this HTML by clicking on the dropdown menu button in the first place, and only have this HTML:\r\n\r\n\r\nThis is my sanitised code with dummy values put for the data variable in case this is causing the error (the data gets updated by a function on uploading a separate CSV that overwrites the data)\r\n\r\n`html.Div(id='output-table', style={'display': 'block'}, children=[\r\n dash_table.DataTable(\r\n id='table',\r\n editable=True,\r\n columns=[\r\n {\"name\": \"Source\", \"id\": \"Source\"},\r\n {\"name\": \"Target\", \"id\": \"Target\"},\r\n {\"name\": \"# of Calls\", \"id\": \"# of Calls\"},\r\n {\"name\": \"color\", \"id\": \"color\", 'presentation': 'dropdown', \"editable\": True}\r\n ],\r\n data=[\r\n {'Source': 'A', 'Target': 'B', '# of Calls': 10, 'color': 'green'},\r\n {'Source': 'B', 'Target': 'C', '# of Calls': 5, 'color': 'red'},\r\n {'Source': 'C', 'Target': 'D', '# of Calls': 2, 'color': 'darkgrey'}\r\n ],\r\n dropdown={\r\n 'color': {\r\n 'options': [\r\n {'label': 'Happy path', 'value': 'green'},\r\n {'label': 'Unhappy path', 'value': 'red'},\r\n {'label': 'Neutral path', 'value': 'darkgrey'}\r\n ]\r\n }\r\n },\r\n )`\r\n\r\nAny help on what is causing this?\r\n","author":{"url":"https://github.com/TKELKAR123","@type":"Person","name":"TKELKAR123"},"datePublished":"2023-10-05T06:43:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/956/dash-table/issues/956"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:30c884af-449c-3948-074a-462a28337b7b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4CA:2E2554:2C758F:398E64:6A5EAD3B |
| html-safe-nonce | e865e2da423b6fbaffe7dcc25d05fe71d0e9096873b3cfc034ac0813ede7c12f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNENBOjJFMjU1NDoyQzc1OEY6Mzk4RTY0OjZBNUVBRDNCIiwidmlzaXRvcl9pZCI6IjgxNjc2Nzg0ODMyNjA5NDM2NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 00b4b4ab9611e7d5245e0079cc96eb8bdc879adb1704aa627853020783d611d4 |
| hovercard-subject-tag | issue:1927494769 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/dash-table/956/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d056389f45d6fd536c37ed08768dea78aa5192946ba20c1b888c760dc6653bad/plotly/dash-table/issues/956 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d056389f45d6fd536c37ed08768dea78aa5192946ba20c1b888c760dc6653bad/plotly/dash-table/issues/956 |
| og:image:alt | I am trying to create a dropdown feature inside a DataTable like this: Unfortunately I cannot click on the dropdown button and then trigger the full menu showing. Instead I have to manually type in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TKELKAR123 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7129250e6854dcc7bfa46fc877bb154b96762b31e3fa82fdf0697c71f08bb32c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/dash-table git https://github.com/plotly/dash-table.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 128151266 |
| octolytics-dimension-repository_nwo | plotly/dash-table |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 128151266 |
| octolytics-dimension-repository_network_root_nwo | plotly/dash-table |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3084c198d559e243975a7a7f61d0b80bcea2a724 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width