The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Using the Grid Grouping control in ASP.Net, how can I display only the vertical scroll bar or the horizontal scroll bar, but not both? I am able to display both at the same time, but I don''t always need both. The samples show grids with only one scroll bar, but I haven''t been able to find the settings that control this behavior. Thanks.
ADAdministrator Syncfusion Team April 11, 2006 12:10 PM UTC
Hi Careed,
This is the default behavior, where the scrollbar appears whenever the height and width of the grid is specified.
To display only the Horizontal scrollbar, do not assign any value for the Grid''s height and similarly to display the Vertical scrollbar alone, do not assign any value to the Grid''s width.
Best Regards,
A.Sivakumar
CAcareedApril 11, 2006 05:13 PM UTC
By specifying a height for my grid grouping control and leaving the width blank, I have been able to make the grid display only a vertical scroll bar.
How do I make the grid display only a horizontal scroll bar? If I specify a width for the grid grouping control and leave the height blank, both scroll bars are displayed. The vertical scroll bar only scrolls a small amount (approximately the height of the horizontal scroll bar control) regardless of the number of records in the grid. Thanks.
ADAdministrator Syncfusion Team April 14, 2006 05:34 AM UTC
Hi Careed,
Please have a look at our ScrollingandSizing/GridWidthAndSizing sample that ships with our Essential Grid install. Are you getting problem in this sample too?. As an alternative you can also check this sample in our live demo site
http://www2.syncfusion.com/syncfusion/infrastructure/samplebrowserasp/samples.aspx?version=2_0
where this work as expected by specifying the width and/or size for the Grid in the text box provided.
Regards,
A.Sivakumar