Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4695
scroll bar in ultragrid does not show
posted

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;

 

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children
No Data