I have used the below code for ag grid which works fine but not for headerName with decimal and hyphen columns.
generateColumns(data: any[]) { debugger