Is possible change a value in cell with "mRender":function.... and with call a DDBB and ajax?
Is possible change a value in cell with "mRender":function.... and with call a DDBB and ajax?
Hello I need changue a value like "898989" by a "person name" and need call to a ddbb with mysql and ajax.
False example like:
"mRender": function (data, type, full) {
var idcode= full[2]; //Id de la persona
$.ajax({
type: "POST",
url: 'includes/in_buscadatosasistente.php?idcode='+idcode,
data: {},
cache: false,
dataType: "json"
success: function(data) {
return data[0].sgc_fld002
}
});
Is this possibe?
Some example please...
Thak you very much