|
| .NET DotNet Forum Index » VB.NET Forum (Visual Basic .NET) » Vb.net[2008] DataGridView in Panel, when populated... |
|
Page 1 of 1 |
|
| Author |
Message |
| Rob W... |
Posted: Fri Oct 30, 2009 2:35 pm |
|
|
|
Guest
|
Greetings,
I have a datagridview docked to fill a panel, when it is populated with data
(bound and unbound) the columns never fully populate the datagridview
control leaving an ugly blank space to the far right.
I've looked at the following methods, but none solve my issue.
DataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill
DataGridView1.AutoSizeRowsMode = DataGridViewAutoSizeColumnsMode.Fill
DataGridView1.AutoResizeColumns()
Can any please tell me how to resolve the empty space problem (I've had a
good look around using intellisense but can't see the wood from the trees)?
Thanks
Rob |
|
|
| Back to top |
|
|
|
|
|
All times are GMT - 5 Hours
The time now is Thu Nov 26, 2009 5:35 am
|
|