I've encountered an issue with the PrimeVue datatable I created, as it is only showing empty rows.
After investigating, I believe the problem lies in my JSON data structure, where the fields do not have keys. What modifications should be made to standardize this JSON so that my data can be properly displayed? Thank you in advance for your assistance.
An example of the current JSON structure:
[
[
32,
"DE BELLOUET Jag",
"1.3.13.3.",
"Cid polseruti sau"
],
[
15,
"NOURAUD Benjamin",
"1.3.13.3.",
"Cid polseruti sau"
]
]
An example of the desired JSON structure:
[
{
"id":32,
"fullName":"DE BELLOUET Jag",
"acs":"1.3.13.3.",
"nom_service":"Cid polseruti sau"
},
{
"id":15,
"fullName":"NOURAUD Benjamin",
"acs":"1.3.13.3.",
"nom_service":"Cid polseruti sau"
}
]
Main program file: gererPersonnes.vue
... ...