This repository was archived by the owner on Jun 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 73
Headers aren't aligned with columns with fixed_rows #777
Comments
As per the community member, this is indeed a regression:
So, we'll need to fix this in a patch release @Marc-Andre-Rivet @plotly/dash-core |
Another issue that came up in 1.12.0 was that when there are a lot of columns and horizontal scrolling is necessary the data cells scroll but the headers don't. import dash
import dash_table
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
app = dash.Dash(__name__)
app.layout = dash_table.DataTable(
columns=[{"name": i, "id": i} for i in list(df.columns) * 3],
data=df.to_dict('records'),
fixed_rows={'headers': True},
style_cell={'minWidth': '180px', 'width': '180px', 'maxWidth': '180px'},
)
if __name__ == '__main__':
app.run_server(debug=True, port=8022) |
ran into the same issue (header not aligned). a simple |
Note @plotly/dash , |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Related to #775 and #776
I can reproduce this after resizing my window, however I can't reproduce it on first draw. A user from the community can though:
https://community.plotly.com/t/dash-1-12-datatable-format-issues-when-using-fixed-header/39120
The text was updated successfully, but these errors were encountered: