Output an array of objects
Output an array of objects
WALTERMedien
Posts: 8Questions: 2Answers: 0
I'm parsing a txt-file with Papaparse. My result is an array of objects looking like
const data = [
{
"title" : "Test",
"prop1" : 4,
"prop2" : 6
},
{
"title" : "Test2",
"prop1" : 5,
"prop2" : 7
},
{
"title" : "Test",
"prop1" : 6,
"prop2" : 14
}
Can I output these objects with Datatables?
This discussion has been closed.
Replies
Absolutely. The documentation for using DataTables with objects is here.
Allan