columns.render multiple object properties from one-to-many join
columns.render multiple object properties from one-to-many join

in Editor
Re: https://editor.datatables.net/manual/php/array-joins#Client-side
{ data: "access", render: "[, ].name" }
This renders only the name property of each object in the array.
How to simply render multiple properties of each object in the array?
Example: I want to render:
name, description, comment
for each object, and separate the array objects with two break tags.
This discussion has been closed.
Answers
You would need to use a function for
columns.render
and loop over the data array, building the string you want.For example:
Allan
Edited:
Brilliant.. It works like a charm. Thank you!