Gatagridview control - WrapMode property
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello All, I have a datagridview control to display information like the file name and file path. The file paths displayed are all long strings and i want them to wrap to the column. To achieve this i have set the follwinf properties: 1) DefaultCellStyle.WrapMode = DataGridViewTriState.True 2) AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill 3) AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders Here i find that the text gets wrapped only if space is provided in the text. I have almost all the file paths with no space and hence the text is not getting wrapped. Please help me out to solve this issue. Thanks in advance
Thanks and Regards Madhu