Hi,
I’m trying to load a datatable in a JET page via proxy.
if I use DT.load(“list->list”) page loads fine,
if I use DT.load(ProxList ) the page loads but if I come back to the page it hangs. no errors displayed.
I have debug turned on.
webix.proxy.List = {
$proxy: true,
load: async function (view, params) {
let ResponseJSON = await webix.ajax().post("list");
let response = ResponseJSON.json();
return response || [];
},
save: function (view, update) {
update.clientId = this.clientId;
update.key = this.key;
update.data = webix.stringify(update.data);
update = webix.stringify(update);
let parsedData = { msg: update, type: "message" };
broadcastChannel.postMessage(parsedData);
}
}
ProxList = webix.proxy("List", serverHost + "/ws", {
key: "List", clientId: clientId
});
-Tomas