plotly/dash-table

0 or null value in filter result breaks DataTable with fixed_rows and fixed_columns

cpascale43 opened this issue · 0 comments

Code to reproduce:

df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
dash_table.DataTable(
        columns=[{"name": i, "id": i} for i in df.columns],
        data=df.to_dict("rows"),
        row_selectable="single",
        filter_action="native",
        fixed_rows={'headers': True, 'data': 1},
        fixed_columns={'headers': True, 'data': 1},
)

Sep-21-2021 15-56-46

Sep-21-2021 15-56-50

Tested on:
dash-table 5.0.0rc1 and v4.12.0
Chrome 94.0.4606.54
Safari 14.1.2