Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datagrid columns width

Status
Not open for further replies.

Taxidriver

Programmer
Jan 15, 2002
79
0
0
IT
Hello I have this datagrid working with adodc and the columns are autogenerated. I would like to change te width of the columns. In the property box the width is set to zero and cannot change it. I tried with DataGrid1.Columns.Item(7).Width = 2 but not working.
 
Write so: DataGrid1.Columns(7).Width = 2000

Will be working.

Miho
 
Thanks a lot Miho!
I wouldn't have worked it out by myself!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top