I am trying to get column definition in ag grid in angular 10. I am using below code using gridApi:
console.log(this.gridOptions.api.getColumnDefs());