I have a windows form that contains a datagrid with columns given coloured
backgrounds via the DataGridColoredTextBoxColumn class. Data is loaded, and
the table style set up, during the load event of the form. At present, the
form half displays, then pauses, then completes. Is there any way of
telling it to complete the set up _before_ displaying anything?

Thanks.

Re: Datagrid with colored columns pausing during setup by Pete

Pete
Fri Jan 21 11:35:45 CST 2005

Have you tried performing the code between a DataGrid.BeginInit() and
DataGrid.EndInit()?

Pete

"Rob Oldfield" <blah@blah.com> wrote in message
news:exc7So5$EHA.3120@TK2MSFTNGP12.phx.gbl...
> I have a windows form that contains a datagrid with columns given coloured
> backgrounds via the DataGridColoredTextBoxColumn class. Data is loaded,
and
> the table style set up, during the load event of the form. At present,
the
> form half displays, then pauses, then completes. Is there any way of
> telling it to complete the set up _before_ displaying anything?
>
> Thanks.
>
>



Re: Datagrid with colored columns pausing during setup by Rob

Rob
Fri Jan 21 15:01:15 CST 2005

I haven't... but I will. Thanks for the suggestion.


"Pete Davis" <pdavis68@NOSPAM.hotmail.com> wrote in message
news:2_ednfw5AsXsoGzcRVn-3w@giganews.com...
> Have you tried performing the code between a DataGrid.BeginInit() and
> DataGrid.EndInit()?
>
> Pete
>
> "Rob Oldfield" <blah@blah.com> wrote in message
> news:exc7So5$EHA.3120@TK2MSFTNGP12.phx.gbl...
> > I have a windows form that contains a datagrid with columns given
coloured
> > backgrounds via the DataGridColoredTextBoxColumn class. Data is loaded,
> and
> > the table style set up, during the load event of the form. At present,
> the
> > form half displays, then pauses, then completes. Is there any way of
> > telling it to complete the set up _before_ displaying anything?
> >
> > Thanks.
> >
> >
>
>