Posted 8 September 2017, 12:58 pm EST
I am implementing a custom data source derived from ISheetDataModel, and have been struggling with some performance issues. It transpires that this is down to the GetValue method being called continuously when the mouse is hovering over a cell in the grid, and called once for each cell that is visible when a cell is clicked. With a bit of trial and error, I've noticed that if a cell is clicked and is in edit mode, this continuous calling stops, unless the cursor is moved over another cell, in which case it is then continuously called for the cell under the cursor (whilst the original cell is being edited and still has keyboard focus).
I wondered whether this feature was by design, whether it's a bug, or happening because I am not doing something (implementing a different interface perhaps)?
Any help greatly appreciated.