Output an array of objects

Output an array of objects

WALTERMedienWALTERMedien Posts: 8Questions: 2Answers: 0
edited August 2019 in General

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?

Replies

This discussion has been closed.