I'm having problems connecting ag-grid data. I'm getting this error because there are no columns in the data I'm trying to show.
Json data available as follow
[{id=1,customerNo:10},{id=2,customerNo:11,customerName:"Skarakas"}]
Ag-Grid columns as follows:
[{
headerName: "id",
field: "id"
}, {
headerName: "Customer No",
field: "customerNo"
}, {
headerName: "Customer Name",
field: "customerName"
}]
CustomerName already comes in rows but sometimes not. Ag-Grid does not work for this reason. Can I fix the problem without changing the data?
I cannot understand that the error is caused by the ag grid. but json works when I remove the customer name field from the data
