I have found the following issue, which I believe is a bug in version 2.1.0.9 of the Essential Grid.
When using a custom DataProvider object with the grid, and the number of columns is increased by changing the data provider, floating cells are incorrectly drawn when you click on them.
As far as I can tell from the docs, the only thing that is necessary after changing the DataProvider is to call the ResetVolatileData method. However, doing this does not fix the problem.
I have attached a ZIP file that demonstrates this problem.
To reproduce:
1. Run the attached application
2. Click on cell D1, which is the right side of a floating cell. The application behaves as expected, the text in D1 is still displayed.
3. Click the "Switch" button, which resets the DataProvider to a different object and resets the volatile data
4. Click on cell C1, which is again the right side of a floating cell. In this case the text disappears from the grid. Clicking elsewhere (like cell B1) will replace the text.
I have also noticed that creating a new grid each time, rather than just replacing the DataProvider will cause this bug to go away, so it must be related to something that happens when the DataProvider is changed.
Is there a workaround or fix in a newer version of the grid?
GridFloatingCells_2513.zip
GridFloatingCells_9070.zip