Dear all,
I have set the scroll bar in ultragrid but it does not show. Do you know why?? How to solve??
this.ultraGrid1.DisplayLayout.Scrollbars = Infragistics.Win.UltraWinGrid.Scrollbars.Both;
Hi,
There are 2 possible explanations for this.
1) Something else in your code is changing the setting of the ScrollBars property after you set it. Perhaps you are loading a Layout or a preset into the grid which is changing this property settings. This is very easy to test, just read out the ScrollBars property at run-time and see if it's still set to Both.
2) The scrollbars are there, but your grid is being clipped by it's container so you cannot see them. Once again, this is very easy to test, just display the Bounds of the grid and the Bounds of it's parent control at run-time, and see if the grid is larger than the container.