C
C#3mo ago
dequyce

Can't autoresize height of row ( datagridview in winform)

I I am using the DataGridView control for WinForms programming. I have set the WrapMode property to True and the AutoSizeRowsMode property to AllCells, but the height of the cell I am editing does not automatically adjust when I enter a lot of text, causing the cursor to move to the next line without expanding the cell height
No description
No description
1 Reply
dequyce
dequyceOP3mo ago
I want the cell to maintain its width and wrap the text to a new line if the data is too long, automatically adjusting the height to fit. Additionally, when the user types or deletes characters from the keyboard, the cell should also adjust its height accordingly
Want results from more Discord servers?
Add your server