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

GridListControl - Display Horizantal scrollbar

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

4 Replies

ST stanleyj 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


BR Badri Rajani Kanth February 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


ST stanleyj Syncfusion Team February 6, 2006 11:00 AM UTC

Hi Rajani, Try this: ListBox1.Grid.HScrollPixel = true; Regards, Stanley


BR Badri Rajani Kanth February 6, 2006 01:36 PM UTC

Thanz Great! Thank you Stanely.. Rgds Rajani Kanth >Hi Rajani, > >Try this: > >ListBox1.Grid.HScrollPixel = true; > >Regards, >Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon