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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top