Skip to content

grid selection not working in jupyterlab4 #415

@jgunstone

Description

@jgunstone

Describe the bug
following update to Jupyterlab==4 selection in datagrid not working

To Reproduce

from ipydatagrid import DataGrid
import pandas as pd
df = pd.DataFrame({"a": [1,2], "b": [3,4]})
DataGrid(df, layout=dict(height="100px"), column_widths={"a": 80}, selection_mode="row")
# clicking on a row doesn't select it

Expected behavior
clicking a row will select that row

Screenshots

can't select row
image

Environment (please complete the following information):

  • Operating System and Version: Ubuntu 2004 on wsl
  • Browser : Chrome
    image

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