Success - in getting data from api
Success - in getting data from api
![Ohunjon](https://secure.gravatar.com/avatar/3c232bf0c991e0a53446537281eaf1b0/?default=https%3A%2F%2Fvanillicon.com%2F3c232bf0c991e0a53446537281eaf1b0_200.png&rating=g&size=120)
hello everybody ! I am getting data from api and I wanted use my custom function in success getting data from api. I try but in table nothing showing maybe anything is wrong ... thanks in advance!
var table = $("#table").DataTable({
"ajax": {
url:"/profiles_list",
type: "POST",
dataSrc: "",
deferLoading: 57,
success: function(){
muFunction()
console.log('yes');
},
error:function(error){
console.log('error');
}
}
});
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Ohunjon ,
This thread should help, it's asking the same thing.
Cheers,
Colin