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
374
Scrollbar
posted

I want to show the vertical scrollbar in my grid at all times.  Is there a way to force this to show up even if there are not enough rows to fill the grid?

I can see where to change the style and look of the bar, track, buttons etc. but I can't find a "SHOW" property.

Parents
No Data
Reply
  • 230
    Verified Answer
    posted

    Hi,

     

    Did you try something like this:

    yoursGrid.DisplayLayout.Scrollbars = Infragistics.Win.UltraWinGrid.Scrollbars.Both;

     (it is a property in Layout group - DisplayLayout.Scrollbars), it should force showing of both scrollbars, if you want only vertical set it to Vertical.

     

    Hope it helps.

Children