Hi All,
when a user click on a specific datatable cell I need to send a POST and reload the entire datatable content:
onClick:{
"fa-trash-o" : function(ev, id){
webix.ajax().post("file.php", {parameter: id.row}, {
error:function(text, data, XmlHttpRequest){webix.message({text,type:"error"});},
success:function(text, data, XmlHttpRequest){
$$('mydatatable').clearAll();
}
});
}
}
The above code return an error, after executing the POST:
Uncaught TypeError: $$(…).clearAll is not a function
What’s going wrong?
Thanks!
Perez