widgetti / ipyaggrid

Using ag-Grid in Jupyter notebooks.
MIT License
56 stars 14 forks source link

Is it possible to make the grid editable by default, without clicking or showing the toggle edit switch? #57

Open gioxc88 opened 10 months ago

gioxc88 commented 10 months ago

as per title,

Thanks !

mariobuikhuizen commented 10 months ago

Yes!

from ipyaggrid import Grid

grid = Grid(
    grid_options={
        "defaultColDef": {"editable": True},    
    },
    grid_data=df,
)

grid