Datagrid control won't display horizontal scroll bar

acorn

Active member
Joined
Mar 8, 2008
Messages
32
Programming Experience
5-10
I have a datagrid control and i've set the scrollbar property to "both" but the horizontal bar never appears, eventhough there are fields that are "off the page" that need to be displayed.
any ideas?
 
This problem is normally if you have put the datagrid inside a control, and the controls properties are incorrectly set. Make sure to box the datagrid in using a panel, and to set the panel properties accordingly.
 
ToolStripContainer

You're right. Now that I look closer, I see a ToolStripContainer on top of my datagrid. I'm a newbie with windows forms... so I don't even know how I got this control - maybe when I bound the form to a table.
But i tried sending it to the background but that didn't change anything. I also reviewed the properties of the toolstripcontainer but nothing is jumping out at me.
any suggestions?
 
Back
Top