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:
DataGridView1.AutoResizeRows() 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 !






Reply With Quote