RIAS
asked on
Datagridview column resizing
Hello,
If I set columns to resize to cell, the users cannot resize the columns.
Any suggestions? I am using vb.net desktop application
Thanks
If I set columns to resize to cell, the users cannot resize the columns.
.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells
.AllowUserToResizeColumns = True
Any suggestions? I am using vb.net desktop application
Thanks
So what was the issue, you don't want user to resize them?
If so use the following property
dataGridView1.AllowUserToResizeColumns = false;
ASKER
Hello,
I need the users to resize the columns and also make the grid to have
.AutoSizeColumnsMode = DataGridViewAutoSizeColumn sMode.AllC ells
I need the users to resize the columns and also make the grid to have
.AutoSizeColumnsMode = DataGridViewAutoSizeColumn
By default datagirdview allows you right so what else you needed?
OK so with the above property set you want user to resize columns
ASKER
Yes.Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.