Closed mkromberg closed 3 months ago
A CellMove event sent by the client has 9 elements - see https://help.dyalog.com/19.0/Content/GUI/MethodOrEvents/CellMove.htm. When sent from the server via NQ, it has a minimum of 4 elements (meaning Info has a minimum of 2), but can have more - for example:
{"NQ":{"Event":"CellMove","ID":"F0000.App.⍙3S13.Y0","Info":[2,1,1],"NoCallback":0}}
Only the first two elements of Info should be stored in CurCell. At the moment, after the above message, you get a 3-element CurCell:
{"WG":{"ID":"F0000.App.⍙3S13.Y0","Properties":["CurCell"],"WGID":"152"}} {"WG":{"ID":"F0000.App.⍙3S13.Y0","Properties":{"CurCell":[2,1,1]},"WGID":"152"}}
Tested using "Home" button in DemoGrids - it sends {"NQ":{"Event":"CellMove","ID":"F1.Holdings","Info":[1,1,1],"NoCallback":0}}
A CellMove event sent by the client has 9 elements - see https://help.dyalog.com/19.0/Content/GUI/MethodOrEvents/CellMove.htm. When sent from the server via NQ, it has a minimum of 4 elements (meaning Info has a minimum of 2), but can have more - for example:
{"NQ":{"Event":"CellMove","ID":"F0000.App.⍙3S13.Y0","Info":[2,1,1],"NoCallback":0}}
Only the first two elements of Info should be stored in CurCell. At the moment, after the above message, you get a 3-element CurCell:
{"WG":{"ID":"F0000.App.⍙3S13.Y0","Properties":["CurCell"],"WGID":"152"}} {"WG":{"ID":"F0000.App.⍙3S13.Y0","Properties":{"CurCell":[2,1,1]},"WGID":"152"}}