Merge data in column with similar identifier

Merge data in column with similar identifier

womieweywomiewey Posts: 2Questions: 1Answers: 0

Good day! I've been new to using datatables.

I've been trying to search for solutions regarding merging my data to one column with the same identifier

For instance, I have a data of:

Name | Organization
John Doe | Organization A
John Doe | Organization B

and having an expected value of
Name | Organization
John Doe | Organization A, Organization B

Is there a way I can use columns

columns: [
    { data: 'name' },
    { data: 'organization' }
]

for this to work and if so, what should I add for it to work? Thank you

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 8,013Questions: 0Answers: 1,348
    Answer ✓

    No, that's not possible. Probably the easiest way would be scan the data outside of DataTables, and merge the data there.

    Colin

  • womieweywomiewey Posts: 2Questions: 1Answers: 0

    Much appreciated. Thank you.

Sign In or Register to comment.