Basic Web Sockets are discussed here;
https://www.capesoft.com/docs/NetTalk11/NetTalkWebBasic.htm#WebSocketsThe NetRefresh notes in there though would apply to the whole browse, not just one cell.
But your JavaScript code can use the functions in nt-websockets.js to "watch a variable, and then call your own callback function when something changes. For example;
nts.watch("watchid","","sessionvalue","someotherid",somefunction,someparameter);
watchid is some arbitrary (unique) Watch ID - this can be anything, you make it up, it's used to separate items in the "watch queue".
This ID allows you to update or change watches etc.
The second parameter is the URL of the server. Leave this blank to use the same server as the current page.
the 3rd parameter is the scope. Use "sessionvalue" or "hostvalue" (or "channel") depending on the type of thing on the server you are wanting to watch.
The 4th parameter is the id of the HTML element on the page. If this is set, and it is an input field, then the value in the field will be automatically updated when the "watched" value changes. If it is set, but is not an input field, then the HTML contents of the element will be set to the new value. This parameter ONLY applies if the 5th parameter is omitted or undefined. If a callback function is passed in (5th parameter) then this parameter is effectively ignored.
the 5th parameter is the Callback function. If this is specified then the 4th parameter is ignored. Instead, when the value changes the callback function will be called. The function will receive 2 parameters, the first is a JSON structure containing the details of the change, the second is the someparameter value above.
nts is a global - page level - Json object that is automatically instantiated for you.
cheers
Bruce