Sruthi Suresh Sruthi Suresh - 1 month ago 12
C# Question

Grid view missing Horizondal scroll bar

DataGridView is not showing the horizontal scroll bar. I tried all the following


  1. set the Scroll bar:both

  2. Frozen property of all cells to false

  3. AutoSizeColumnMode:AllCells



also the size of datagrid is less than the container form

Answer

Try to set the AutoSizeColumnMode to None

Edited as per OP's request

If problem persist then,

Delete that DataGridView and drag-drop new DataGridView and give the same name of the old DataGridView and check.