I encountered a problem in my spreadsheet control (v 18.1460.0.42). The problem occurs if using it this way:
(1) Initialize values in a row by adding strings into the cells. ( grid.SetCellValue(... )
(2) If a cell happens to have a long string value that flows outside of the cell display width, the string will overlay the next adjacent cell.
(3) Attempt to activate the covered cell 'behind' the overlaying text and type into the cell area where you think it would be expected. (Double click or click and start to type.)
(4) The system will crash.
To avoid this:
(1) (as above)
(2) If a cell happens to have a long string that flows outside the right cell boundary, it will overlay the adjacent cell. Expand the column width manually by dragging.
(3) You can now type into the now-exposed cell input area without an error.
My workaround:
When I load in row contents, or when the user updates the cell content, I autoFit the cells for the entire row. I also block the cell width adjustment property so the user can't change the cell widths. This fix is not generally ideal, but turned out to be perfect for my particular implementation in the project.
Notes: If I load in a spreadsheet from disk, wide cells don't have this problem.