Anyone know how to resize the columns in a datagrid, I ve tried setting the
PreferredColumnSize, Invalidating and Updateing but to no avail.
Im sure it is pretty easy?

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============

Re: Resize columns in a datagrid. by SEA

SEA
Wed May 12 19:54:45 CDT 2004

Dear Mark,

The extended framework I have developed contains methods for manipulating
Windows Forms data grid. One of them resizes the columns to fit their
content.

E-mail me for your free copy: ori@s-e-a.com.au
Your acceptance of the license agreement will be required.

Ori Millo

"Mark Broadbent" <no-spam-please@no-spam-please.com> wrote in message
news:OfW5sUEOEHA.2336@TK2MSFTNGP09.phx.gbl...
> Anyone know how to resize the columns in a datagrid, I ve tried setting
the
> PreferredColumnSize, Invalidating and Updateing but to no avail.
> Im sure it is pretty easy?
>
> --
>
> --
>
> Br,
> Mark Broadbent
> mcdba , mcse+i
> =============
>
>



Re: Resize columns in a datagrid. by Mark

Mark
Thu May 13 03:12:52 CDT 2004

Thanks. But there must be a simple property to change column widths without
resorting to third party controls. Secondly I no longer use my email with
untrusted sources, I am sick to death of spammers (even though I doubt you
are one).

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
"SEA Software" <someone@nospam.com> wrote in message
news:ukJyrTIOEHA.640@TK2MSFTNGP12.phx.gbl...
> Dear Mark,
>
> The extended framework I have developed contains methods for manipulating
> Windows Forms data grid. One of them resizes the columns to fit their
> content.
>
> E-mail me for your free copy: ori@s-e-a.com.au
> Your acceptance of the license agreement will be required.
>
> Ori Millo
>
> "Mark Broadbent" <no-spam-please@no-spam-please.com> wrote in message
> news:OfW5sUEOEHA.2336@TK2MSFTNGP09.phx.gbl...
> > Anyone know how to resize the columns in a datagrid, I ve tried setting
> the
> > PreferredColumnSize, Invalidating and Updateing but to no avail.
> > Im sure it is pretty easy?
> >
> > --
> >
> > --
> >
> > Br,
> > Mark Broadbent
> > mcdba , mcse+i
> > =============
> >
> >
>
>



Re: Resize columns in a datagrid. by SEA

SEA
Thu May 13 03:32:19 CDT 2004

You are right, I am not. If you can think of a way that will make you feel
safer I'm game.

There is a simple property: when you create DataGridTableStyle you can set
the width of each DataGridColumnStyle after you determined the size of the
text in each row.

About the extensions library - who knows, it is possible that it will do for
you more than just adjust column sizes.

Ori

"Mark Broadbent" <no-spam-please@no-spam-please.com> wrote in message
news:#8LlVIMOEHA.3300@TK2MSFTNGP09.phx.gbl...
> Thanks. But there must be a simple property to change column widths
without
> resorting to third party controls. Secondly I no longer use my email with
> untrusted sources, I am sick to death of spammers (even though I doubt you
> are one).
>
> --
>
> --
>
> Br,
> Mark Broadbent
> mcdba , mcse+i
> =============
> "SEA Software" <someone@nospam.com> wrote in message
> news:ukJyrTIOEHA.640@TK2MSFTNGP12.phx.gbl...
> > Dear Mark,
> >
> > The extended framework I have developed contains methods for
manipulating
> > Windows Forms data grid. One of them resizes the columns to fit their
> > content.
> >
> > E-mail me for your free copy: ori@s-e-a.com.au
> > Your acceptance of the license agreement will be required.
> >
> > Ori Millo
> >
> > "Mark Broadbent" <no-spam-please@no-spam-please.com> wrote in message
> > news:OfW5sUEOEHA.2336@TK2MSFTNGP09.phx.gbl...
> > > Anyone know how to resize the columns in a datagrid, I ve tried
setting
> > the
> > > PreferredColumnSize, Invalidating and Updateing but to no avail.
> > > Im sure it is pretty easy?
> > >
> > > --
> > >
> > > --
> > >
> > > Br,
> > > Mark Broadbent
> > > mcdba , mcse+i
> > > =============
> > >
> > >
> >
> >
>
>