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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Values for DataGrid Control

Status
Not open for further replies.

majorbroncosfan

Programmer
Feb 23, 2001
121
US
Does anybody know how to set default values for specific columns for the DataGrid control?
 
Right clicking on the DataGrid control and navigating to the Layout/Width property allows you to resize the columns to any desired width. You can also Lock the columns from the same property page.
However the down side is that you must be using an ADO control linked to a Datasource for this to work. I have unsuccessfully tried to find a programmatic way to solve this (i.e Using an ADODC recordset) but even though the resizing works as described above the resulting display is blank. Anybody have any ideas????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top