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.
Hi,
One quick question. How can I automatically display horizanta scrollbar in GridListControl?
For example, in the sample Plz check in ..\Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Quick Start\GridListControlSample, change widthListBox = 100 and see to replicate..I have tried with few settings as well.
Rgds
Rajani Kanth
STstanleyj Syncfusion Team February 4, 2006 07:13 AM UTC
Hi Rajani,
The horizontal scroll bars are automatically displayed, if widthListBox = 90 is set, that would make you clear. The reason is that the scrollbars are displayed as soon as the last column starts hiding when the last column is filling the rest of the client area.
So if this line is commented out.
ListBox1.FillLastColumn = true;
The scroll bar will be displayed as soon as the last column starts resizing.
However if you wish to see scroll bars always, you may use
ListBox1.Grid.HScrollBehavior = GridScrollbarMode.Enabled;
Best regards,
Stanley
BRBadri Rajani KanthFebruary 6, 2006 10:21 AM UTC
Hi Stanely,
FillColumn is working only when ListBox1.MultiColumn = true; changing ListBox1.MultiColumn = false; again does not display scrollbar. I am using it as a single column list box only.
Rgds
Rajani Kanth
>Hi Rajani,
>
>The horizontal scroll bars are automatically displayed, if widthListBox = 90 is set, that would make you clear. The reason is that the scrollbars are displayed as soon as the last column starts hiding when the last column is filling the rest of the client area.
>
>So if this line is commented out.
>
>ListBox1.FillLastColumn = true;
>
>The scroll bar will be displayed as soon as the last column starts resizing.
>
>
>However if you wish to see scroll bars always, you may use
>
>ListBox1.Grid.HScrollBehavior = GridScrollbarMode.Enabled;
>
>
>Best regards,
>Stanley
STstanleyj Syncfusion Team February 6, 2006 11:00 AM UTC
Hi Rajani,
Try this:
ListBox1.Grid.HScrollPixel = true;
Regards,
Stanley