0
In this code I can select it and in the console.log have access to the information, but I don’t know how I could change it:
$(document).ready(function () {
var oTable = $('#tableproduct').DataTable();
$('#tableproduct tbody').on('click', 'tr', function () {
$(this).toggleClass('selected');
var pos = oTable.row(this).index();
var row = oTable.row(pos).data();
console.log(row);
})
});
I need to change the readonly property from true to false input when selecting the line.
What is the expected result?
– Alvaro Alves
I need to change the readonly property from true to false input when selecting the line.
– Daniel Rezende
Edit your question and put this information, and if possible the html structure you are using
– Alvaro Alves