✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

A hard question on dropdown

Suppose I want each drop down for each of the column in the data frame that user uploaded. But the number of columns is unknown. I might be able to generate as many dropdown as user’s uploaded column in a returned value of a callback.( [dcc.Dropdown(id = ‘1’), dcc.Dropdown(id = ‘2’),… ]). For each of the dropdown, user will key in values in the text box beside it. I need to use these user input correspond to each of the dropdown in another callback as input. But how could I build a call back to use each of the dropdown and text box values as inputs, since the number of the dropdown is unknown? Can I fit both dropdown and text box in a DataTable?

Thank you much!!!

2 posts were merged into an existing topic: Dash DataTable - Using Dropdown User Input as Inputs to Another Callback?