Can you please tell me what option/setting is causing my grid to appear like this:
I do not want grouping, splitting or anything like that.
This is really frustrating as it has 'reset' to this view mutliple times, even though I have not changed any settings on the control.
I'm using NetAdvantage For WinForms 8.2.20082.2194 with Visual Studio 2005.
Looks like i fixed it by dragging the splitter bar up and then down to the bottom of the grid (in the IDE). It seems to be gone now. Still interested in what feature this is, and why it seems to randomly appear.
That's called a RowScrollRegion. Users can create these regions for both rows and columns by dragging the little box at the top or left of the scrollbar.
It should not be appearing at random, but I have seen cases where the form designer gets corrupt and ends up adding scroll regions sometimes. You can set MaxRowScrollRegions and MaxColScrollRegions on the grid to 1 to turn this feature off.
If you are feeling particularly brave, you might want to try backing up your project and then go into the form designer code and look for RowScrollRegion and ColScrollRegion and see if there are any references listed there. If so, you might be able to modify or delete some things from the designer-generated code. I have seen cases where the Designer-generated code contains code that creates scroll regions with negative extents - which are clearly invalid.
Thanks Mike. The MaxColScrollRegions and MaxRowScrollRegions were both already at 1!
I agree it seems to be some issue with the form designer.