Hi,
I’m trying to load data into a datatable while sending information to my server with a corresponding id.
The code I’m trying to replicate in webix datatable loading would be sent as follows in AJAX (I am receiving and handling the request properly):
$.ajax({
method: “POST”,
url: “/data/temperatureListByCity”,
data: { cityName: curCity }
});
Right now I just have url: “post->/data/temperatureListByCity” as my url. I followed some of the tutorials about AJAX loading in webix, but couldn’t get it to work. Is there an easy way to add some data to the post requests as to request something specific from the url/database?