Results 1 to 8 of 8

Thread: [RESOLVED] Problem with DatagridView wrapping

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    216

    Resolved [RESOLVED] Problem with DatagridView wrapping

    Hi,
    I have a DataGridView with one column,I set for that column DefaultcelStyle->Wrapmode=True

    Modify data a with a long string,I call also
    vb.net Code:
    1. DataGridView1.AutoResizeRows()
    2.         DataGridView1.Refresh()

    But the DataGridView doesn't refresh wrap,il looks like this :


    I change manually current selected row moving to another record and now the refresh is done :


    How to solve that automatically ?
    Also sample attached.
    Thanks !
    Attached Files Attached Files

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