Problems with Datagrid PreferredColumnWidth.

R

Richard

I actually have two questions:

1: Is there any way to specify a preferred column width on a per column
basis? My control is a datagrid whose data source is a table built on the fly
with DataColumns and DataRows.

2: Right now I am using the PreferredColumnWidth property of the Datagrid to
set all the coulmns to the same width. (Better than nothing.) The problem I
am having is in deploying the application. It works fine on my box but if
anyone else trys to run it, they get an error message stating that the
PreferredColumnWidth property is not set in their application settings. How
do I get around this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top