Rare behavior when I do row.add
Rare behavior when I do row.add

Hi all!,
I have some trouble when I want to use row.add, instead of adding me three columns, in my third column I have other array,
and I don't realize why?, I add an image where could see this behavior
and here code of definition of datatable:
// Grilla item Medio de Pago
tablaM = $("#tmedios").DataTable({
ordering: false,
paging: false,
searching: false,
info: false,
language: {
"sEmptyTable": "Ningun Medio de Pago Agregado"
},
// se define la ultima columna con los botones de editar y eliminar linea
columnDefs: [{
"targets": -1,
"width": "120px",
"data": null,
"render": function (data, type, row, meta) {
return '<a class="btn btn-info mr-1" href="javascript:editar_linea(' + meta.row + ')" role="button"><i class="fas fa-user-edit"></i></a>' +
'<a class="btn btn-danger" href="javascript:eliminar_linea(' + meta.row + ')" role="button" onclick="return confirm(\'Confirma Eliminar la linea ?\')"><i class="fas fa-trash-alt"></i></a>'
}
}]
});
any idea ?
Thanks in advance !
Fernando
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin