how to add data to attributes in edit custom button
how to add data to attributes in edit custom button
cris19n
Posts: 55Questions: 18Answers: 0
"columns": [
{ data: 1 },
{ data: 2 },
{ data: 3 },
{"defaultContent":"<button type='button' class='editarprueba btn btn-warning' ideditar='+{ data: 1 }+' data-toggle='modal' data-target='#edicion'>Editar</button>"}
]
ideditar='+{ data: 1 }+'
I want to add the data to certain attributes, but I don't know what is the best way to do it, which is similar to the example
This discussion has been closed.
Answers
my solution
{