Full Row Editing

Full row editing, when enabled, makes all cells in a row editable at the same time. To enable full row editing, set the grid option editType to fullRow on dashGridOptions.

import dash_ag_grid as dag
from dash import Dash, html

import pandas as pd

df = pd.read_csv("https://raw.githubusercontent.com/plotly/datasets/master/wind_dataset.csv")

app = Dash(__name__)

app.layout = html.Div(
    [
        dag.AgGrid(
            id="full-row-editing-example",
            rowData=df.to_dict("records"),
            columnDefs=[{"field": i} for i in df.columns],
            columnSize="sizeToFit",
            defaultColDef={"editable": True},
            dashGridOptions={
                "undoRedoCellEditing": True,
                "undoRedoCellEditingLimit": 20,
                "editType": "fullRow",
            },
        ),
    ],
    style={"margin": 20},
)

if __name__ == "__main__":
    app.run(debug=False)