We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Always show vertical scroll bar?

Hi,

Is there any way to make the vertical scroll bar always shown, regardless how many rows I have on the grid? I'm using gridcontrol.

Thanks,

Frank

4 Replies

AD Administrator Syncfusion Team January 4, 2007 04:26 AM UTC

Hi Frank,

Try setting the VScrollBehavior property to GridScrollbarMode.Enabled.

this.grid.VScroll = true;
this.grid.VScrollBehavior = GridScrollbarMode.Enabled;

Let me know if this helps.

Best Regards,
Haneef


AD Administrator Syncfusion Team January 4, 2007 01:40 PM UTC

Haneef,
It works.
Thanks,
Frank

>Hi Frank,

Try setting the VScrollBehavior property to GridScrollbarMode.Enabled.

this.grid.VScroll = true;
this.grid.VScrollBehavior = GridScrollbarMode.Enabled;

Let me know if this helps.

Best Regards,
Haneef


NB Nhilesh Baua August 24, 2007 05:43 AM UTC

Hi Frank/Haneef,

I am facing the same problem, I am also using the GridControl, However I am not able to resolve this issue with the same code?

I am writing this code on the form_load event, am I making any mistake?

Regards,
Nhilesh Baua.


HA haneefm Syncfusion Team August 24, 2007 02:59 PM UTC

Hi Nhilesh,

Please provide us some more details on your application, as we need some more input on this issue. We have prepared a minimal test sample with GridControl to reproduce this issue. But we are not able to reproduce the issue. May be we are not following the steps that you are doing. Below attached sample is working fine here.

WinGridScroll.zip

Is it possible for you to upload us a minimal sample or modify the attached sample to reproduce the issue here? This will help us to analyse the issue further.

We appreciate your patience, and thanks for considering Syncfusion products.

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon