1) The cell that we have moved to is [1,2] not [1,1]
2) Element [6] should be 0 if the value has not changed or 1 if it changed
3) The 7th element should contain the new value in the cell we have left, but only if it was changed
Issue #6 documents the correct contents of Info in the CellMove event:
[1 2] The new row and column that we have moved to
[3] Scroll flag: 1 if the movement would cause the grid to scroll
[4] Selection: indicates that the movement is part of changing the selection (not currently supported, just set to 0)
[5] Mouse: 1 if the movement was caused by a mouse click
[6] Changed flag: 1 if the cell that we left was changed
[7] New value: Contents of the cell that we left
Run DemoGrids and click in cell [1;1] (contains "ABCD"). Then press cursor right key. The following message is generated:
{"Event":{"ID":"F1.Holdings","EventName":"CellMove","Info":[1,1,0,0,0,"ABCD"]}}
This message is incorrect in the following ways:
1) The cell that we have moved to is [1,2] not [1,1] 2) Element [6] should be 0 if the value has not changed or 1 if it changed 3) The 7th element should contain the new value in the cell we have left, but only if it was changed
Issue #6 documents the correct contents of Info in the CellMove event:
[1 2] The new row and column that we have moved to [3] Scroll flag: 1 if the movement would cause the grid to scroll [4] Selection: indicates that the movement is part of changing the selection (not currently supported, just set to 0) [5] Mouse: 1 if the movement was caused by a mouse click [6] Changed flag: 1 if the cell that we left was changed [7] New value: Contents of the cell that we left