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.
Pete Davis - 21 Jan 2005 17:36 GMT
Have you tried performing the code between a DataGrid.BeginInit() and
DataGrid.EndInit()?
Pete
> I have a windows form that contains a datagrid with columns given coloured
> backgrounds via the DataGridColoredTextBoxColumn class. Data is loaded, and
[quoted text clipped - 3 lines]
>
> Thanks.
Rob Oldfield - 21 Jan 2005 21:01 GMT
I haven't... but I will. Thanks for the suggestion.
> Have you tried performing the code between a DataGrid.BeginInit() and
> DataGrid.EndInit()?
[quoted text clipped - 10 lines]
> >
> > Thanks.