Skip to content

get_widget can fail #927

Open
widgetti/reacton
#57

Description

@maartenbreddels

Although a reacton bug, it's happening in a solara context, so I thought for visibility it is better to post here.

Example 1
works, but Example 2 fails on get_widget when the Select changes.

The difference is:

# works
datagrid = ipydatagrid.DataGrid.element(dataframe=df_filtered, selection_mode="row")
# fails
datagrid = ipydatagrid.DataGrid.element(dataframe=df, selection_mode="row")

I can understand how this fails, since the parent (the implicit Column parent) will not rerender, breaking the relation between the element and the widget (it just ignores the new datagrid element, since it did not change).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions