I have an AgGrid configured with the following column definitions:
const colDefs = ref([
{
field: "make"
},
{ field: "model" },
{
headerName: "Col Group",
columnGroupShow: "open",
children: [{ field: "price" }, { field: "electric" }],
},
]);
As you can see, I have configured a column group named “Col Group” and according to AgGrid documentation, there should be an option to collapse and expand the group, but I don’t see it in my grid.
Am I missing something or doing something wrong? How can I have the collapse/expand options working for this column group?