'How to enable vertical Scollbars in a DataGridView when the AllowUserToAddRows property is set to false
I have noticed that the vertical scroll bars appear in the DataGridView only when the AllowUserToAddRows property is set to true. I have a required where number of rows are fixed and cannot change. When I set AllowUserToAddRows to false and type in multiple lines (>20) in a Cell in the DataGridView, the content gets cut where the main form ends because the vertical scroll bars don't appear.
How can I make it appear provided the AllowUserToAddRows is set to false in all cases?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
