docs - update dash table docs so that folks don't run into issues like these: Using fixed_rows together with fixed_columns not working in this example #648
Description
If you run the below sample, I can't get the display to show the fixed columns with the fixed rows.
My display with Safari, the fixed row on the left floats to the top and then a new table is below with the rest of the data.
Any ideas would be great, many thanks dash team.
import dash
import dash_table
import pandas as pddf = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
app = dash.Dash(name)
app.layout = dash_table.DataTable(
id='table',
columns=[{"name": i, "id": i} for i in df.columns],
data=df.to_dict("rows"),
fixed_rows={'headers': True, 'data': 0 },
fixed_columns={'headers': True, 'data': 1 },
style_cell={'width': '400px'},
style_table={
'width': '100%',
'height': '100%',
'minWidth': '100%',
'minHeight': '100%',
}
)if name == 'main':
app.run_server(debug=False, port=9999)