Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was 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

Description

@cpascale43

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions