Column Definitions
Basic Columns
AgGrid allows you to define the columns of your grid, passed to the prop column_defs. Each dictionary represents a column.
Here we define a grid with 3 columns:
column_defs = [
{"field": "direction"},
{"field": "strength"},
{"field": "frequency"},
]To set default properties for all your columns, you can define default_col_def in your grid:
default_col_def = {
"sortable": True,
"filter": True,
"resizable": True,
}