Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Boolean values not showing #10

Description

@flavianh

Hello there,

Boolean values show up empty in a data table. You can reproduce with the following code:

df = pd.DataFrame({'boolean_column': [True, False, True]})

app.layout = html.Div(children=[
    dt.DataTable(
        rows=df.to_dict('records'),
        columns=df.columns,
        editable=False,
        filterable=True,
        sortable=True,
        id='datatable'
    ),
])

As a workaround I used rows=df.astype(str).to_dict('records')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions