Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

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

Open
cpascale43 opened this issue Sep 21, 2021 · 0 comments
Labels

Comments

@cpascale43
Copy link

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

@cpascale43 cpascale43 added the bug label Sep 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant