Results 1 to 6 of 6

Thread: [RESOLVED] Horizontal ScrollBar in WinForms DataGridView

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Resolved [RESOLVED] Horizontal ScrollBar in WinForms DataGridView

    Hello,

    I'm using a DataGridView in VB.Net in VS 2005. The issue is, when there are rows that exceed the width of the DataGridView, the horizontal scroll bar doesn't appear (the ScrollBars property is set to "Both"), but an ellipsis appears at the end of each row that is too long. I don't want the ellipsis, but the horizontal scroll bar. The vertical scroll bar works as expected when the number of rows exceed the height of the DataGridView. Any ideas on how to resolve this?

    I have tried setting numerous related properties (changing the AutoSizing property of the DataGridView, Resizability of the Row Template, made sure that no Columns were Frozen) to no avail.

    Thanks!

  2. #2
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: Horizontal ScrollBar in WinForms DataGridView

    Do you have the AutoSizeColumnMode set to Fill?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    ForumAccount ...

    Do you have the AutoSizeColumnMode set to Fill?
    I didn't (it was on "None") but I just set that property to "Fill". It made no difference. Still no horizontal scroll bar ...

  4. #4
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: Horizontal ScrollBar in WinForms DataGridView

    Could you possible post a screen shot of what you are seeing?

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    ForumAccount ...

    I've posted a screen shot. Hope this clears it up. Thx for trying to help.
    Attached Images Attached Images  

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Resolved Re: Horizontal ScrollBar in WinForms DataGridView


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width