Width/Length of Data Column

  • Thread starter Thread starter schaapiee
  • Start date Start date
S

schaapiee

Is there a way to define how long the data columns are, display wise
on the Form?

Whether I am using a boolean field (checkbox) or a string field (text
url) each displays with the same size.
I know you can select all the columns and resize them after the fact,
but is there a way to set each columns size default so when it
displays it is not huge like for the boolean or cut off like for the
string field..
Let me know if you need more information.


Thanks!!
 
Is there a way to define how long the data columns are, display wise
on the Form?

Whether I am using a boolean field (checkbox) or a string field (text
url) each displays with the same size.
I know you can select all the columns and resize them after the fact,
but is there a way to set each columns size default so when it
displays it is not huge like for the boolean or cut off like for the
string field..
Let me know if you need more information.

Thanks!!

Ok here is what I am talking about..

System.Windows.Forms.Data Grid
Properties: Layout-Preferred Column Width = 75


This sets a default for all columns, but how can I set this for each
column individually so each column better fits with the width of the
longest item in each column? My actual columns do not show until
runtime; in design mode only the datagrid shows.
Hope this helps..thanks for the help!
 
Back
Top