Is it possible to deactivate SplitterBar in WinGrid by setting any property? In some cases after setting up some properties and rebuild solution the splitter bar are added automatically to my UltraWinGrid (i manually define a schema at runtime: generic list of wrappr class). I hadn't found any property like HideSplitterbar.
Any ideas?
Thanks!
This post was on point regarding the line(s) that appear above the grid. The MaxRowScrollRegions has been set to 1 yet at least 1 line and at times multiple lines are appearing above the grid. When the grid is filled, the vertical scroll bar stops at the bottom of the first extra line at the top of the grid. You can grab the line and pull it down to expose the splitter region yet the splitterbar is not displayed. When checking the designer code that is generated, there are 2 ScrollRegions generated. I concure that this is an error.
There were multiple ScrollRegions created in the designer-generated code, along with setting MaxXXXScrollRegions to 1. After manually resizing the grid in design-mode so that it didn't show scrollbars, the designer no longer created those ScrollRegions. That's why I conclude it's a bug.
If It occurs again and the above trick fails to fix it, a plausible workaround would be to delete the scroll regions at load-time (I haven't tried it).
This isn't a problem for me anymore.
Something in your code must be creating another scroll region.
One way this might happen is if your application is loading a layout into the grid.
Another possibility is that the designer code has somehow become corrupted. Try doing a search in your project for ScrollRegion and see if there are multiple regions being created by the form designer-generated code.
I had already unchecked those two checkboxes. Here's a bit more background, and a solution.
The grid was docked to the left edge of a form under the control of an ultraDockManager. The dockable window containing the grid was narrower, so there was a scrollbar on the grid. Remember that the designer-generated code created two scroll regions, but also set MaxXXXScrollRegions to 1, so it was confused.
When I resized the dockable window so that the grid's scrollbar went away, the designer no longer created the scrollregions. If at run time I resize the dockable window narrower, the grid's scrollbar comes back, but not the extra scroll regions.
Looks like a designer bug to me. It should have created one scrollregion when the dockable window was too narrow, not two. I'm using v9.1, so it may have been fixed already.
In the UltraWinGrid Designer, under 'Basic Settings', choose 'feature picker'. you will get a tree where you could choose and set properties on the grid. In that, under 'Scrolling', you will notice two check boxes, 'Show Row Region Splitter' and 'Show Column Region Splitter', if these are ticked for you... there lies ur problem.