eg:
const colDefs = [{ field: 'country', maxWidth:100,}]
when the grid ready,i use the setColumnDefs to change maxWidth, but it didn't take effect.
function changeMaxWidth(){
const colDefs = gridOptions.api.getColumnDefs()
colDefs[0].maxWidth = 130
gridOptions.api.setColumnDefs(colDefs)
}
this is example: plunker