I have a data table with large number of columns. I don’t see a horizontal scroll bar in that case. Therefore, I don’t see all the columns. Is this a bug or is there any way I can show the horizontal scroll bar?
You can do horizontal scroll. For example:
import dash
import dash_html_components as html
import dash_table
app = dash.Dash(__name__)
app.layout = html.Div([
dash_table.DataTable(
columns=[{
'name': 'Column {}'.format(i),
'id': 'column-{}'.format(i)
} for i in range(1,15)],
data=[
{'column-{}'.format(i): (j + (i-1)*5) for i in range(1, 15)}
for j in range(5)
],
style_table={'overflowX': 'scroll'},
)], style={'width':500})
if __name__ == '__main__':
app.run_server(debug=True)
1 Like
Will dash_table be merged with dash_table_experiments?
No. dash_table
is the new dash_table_experiments
(the project is no longer an “experiment”)