Additional Columns with Array Data Source
Additional Columns with Array Data Source
Kyle234
Posts: 2Questions: 1Answers: 0
Is there a way of having additional computed columns when using an Array datasource? We'd prefer not to use an array of objects due to the additional download size (even when gzipped), I know I can parse to objects on the client, but there's a lot of data and wondered if there was a built in method.
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
One option is to use
columns.data
with array indexes. Example:http://live.datatables.net/vijafega/1/edit
Kevin
That's great, thank you