mRender function get data from another column

mRender function get data from another column

vmorikawavmorikawa Posts: 1Questions: 1Answers: 0

I'm new with datatable and i'm trying to get a value from column 2 and show with column 0

this suppossed to be work ?? because i receive the message "undefined"

the parameter data is ok have the value correctly...but row[2] gave me undefined

"aoColumnDefs": [

           {
                     "mRender": function (data, type, row) {
                         return data + ' ' + row[2];
                     },
                     "aTargets": [0]
                 },

thanks for any help

This discussion has been closed.