You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
When creating a large DataTable with certain columns rendered as dropdowns, activating a dropdown scrolls the user to the bottom of the page. This is an annoyance to our end-users, especially on very large tables.
Code Sample
import dash
import dash_html_components as html
import dash_table
app = dash.Dash(__name__)
table_data = [{"index": i, "dd": ''} for i in range(1000)]
app.layout = html.Div([
dash_table.DataTable(
data=table_data,
columns=[
{"id": "index", "name": "index"},
{"id": "dd", "name": "dd", "presentation": "dropdown"},
],
editable=True,
dropdown={
"dd":{
"options": [
{"label": str(i), "value": str(i)} for i in range(5)
]
}
}
)
])
if __name__ == "__main__":
app.run_server(debug=True)