Attached is a sample app that reproduces the problem. We''re using version 3.3 of the grid and we''re locked to that version for the moment.
The problem basically happens as follows: Create a virtual grid with 1 row and make that row hidden. Then change the row count to enough rows to show a scrollbar (50 rows in the example), and call ResetVolatileData(). Now, if you change the row count back to 1 with that row still hidden, ViewLayout.VisibleCellsRange becomes an empty range, even though it wasn''t an empty range when initially displayed.
It''s scrollbar related and only happens if you add enough rows so that the scrollbar shows up. If you change it to say, 3 rows and then back to 1 row, the test app will continue go back to showing the ViewLayout.VisibleCellsRange as "R1C1:R1C4".
The Empty range is causing us a lot of problems because we do some custom drawing outside the actual grid based on the ViewLayout.
If this requires source code change in the grid, that''s fine. Simply point me in the right direction.
Thanks.
TwoColGridSamp0.zip