is there a way to set a column in a datagrid to a size and not wrap text nor
expand the column to allow the all the items in that cell to be seen. I want
the string in that dataset to be cut short if the string is too long for the
cell?

Re: hellp datagrid/dataset columns by William

William
Thu May 13 10:24:27 CDT 2004

Hi Darren:

If I understand you correctlyk You can specify the width of your column's if
you use a DataGridTableStyle and a DataGridCOlumnStyle. Just set the column
width to the point where it will cut off.

HTH,

Bill

www.devbuzz.com
www.knowdotnet.com

"Darren Spooner" <DarrenS@ihatespam.spacecamp.com> wrote in message
news:O5cmjBPOEHA.2952@TK2MSFTNGP12.phx.gbl...
> is there a way to set a column in a datagrid to a size and not wrap text
nor
> expand the column to allow the all the items in that cell to be seen. I
want
> the string in that dataset to be cut short if the string is too long for
the
> cell?
>
>



Re: hellp datagrid/dataset columns by Darren

Darren
Thu May 13 15:20:47 CDT 2004

when i do that the datagrid just expands to fit all data
even when i set a real low number
"William Ryan eMVP" <dotnetguru@comcast.nospam.net> wrote in message
news:OLcw%232POEHA.4036@TK2MSFTNGP12.phx.gbl...
> Hi Darren:
>
> If I understand you correctlyk You can specify the width of your column's
if
> you use a DataGridTableStyle and a DataGridCOlumnStyle. Just set the
column
> width to the point where it will cut off.
>
> HTH,
>
> Bill
>
> www.devbuzz.com
> www.knowdotnet.com
>
> "Darren Spooner" <DarrenS@ihatespam.spacecamp.com> wrote in message
> news:O5cmjBPOEHA.2952@TK2MSFTNGP12.phx.gbl...
> > is there a way to set a column in a datagrid to a size and not wrap text
> nor
> > expand the column to allow the all the items in that cell to be seen. I
> want
> > the string in that dataset to be cut short if the string is too long for
> the
> > cell?
> >
> >
>
>