We are currently using DHTMLXScheduler with nodeJS to sync scheduler display in client PCs. And it is working great .
However if scheduler at client side is disconnected from server (like internet connection is lost, Wireless connection lost etc. on clientâs side), client can still work with scheduler on his/her side even though the data is not being synchronized or updated at other clients who are connected to same nodeJS server. To user it seems like it is working but in reality other clients do not see the updates.
How can we inform client that he/she is not connected to nodeJS server any more?
Thanks Stanislav for the update.
I was trying out the solution that was mentioned. Not successful yet. May be it is related to the version of DHTMLX control that I have. Which version of DHTMLX control supports this i.e [ dp._live_up.client.bind(âtransport:downâ, function() ⊠].
It will be great if you can also point to some sample that uses this.
I recently looked into firebug to check why dp._live_up did not work.
Seems like correct variable name is: dp._live_upd (i.e. ends with âdâ).
Found the client variable as well, i.e. dp._live_upd.client
However could not find âbindâ or âonâ functions within client.
Following functions did not work yet:
dp._live_upd.client.bind(âtransport:downâ, function() {
// client is offline
dhtmlx.message(âYou are offlineâ);
});