Home All Groups Group Topic Archive Search About

VS2003 DataGrid Bug or Feature??

Author
12 Apr 2005 1:55 AM
DazedAndConfused
When first loaded, the first column of the first row of a DataGrid is back
colored (this is true of VS 2002 VB & VS 2003 VB and is not a problem).

When navigating programmatically through the data grid using BindingContext
the back colored value(Column 1, Top Row)  does not change as the grid
scrolls, all other columns and rows change including columns of the same
row.

This happens with arrays and DataSets. Once a row (or any cell in a column
except column 1) is clicked the offending field shows the correct value and
you can navigate up and down and the cell updates correctly.

If you click a different cell in column 1, then that cell becomes back
colored and no longer displays the correct value once you navigate past the
scroll window.

This does not happen with VS 2002, just VS 2003.

Is this a feature or a bug?

How do you fix it and/or get around it?

Has anybody else noticed this?

Does any body know why?

I have tested it on three different machines, both within the IDE and as a
stand alone app, VS 2002 doesn't happen, VS 2003 it does.

Author
12 Apr 2005 6:14 AM
Cor Ligthert
Just to keep the answers in one thread
Author
12 Apr 2005 3:10 PM
DazedAndConfused
Sorry to double post, but for some reason I can not locate the first post. I
thought I posted it in this news group but still can not locate it.
Show quoteHide quote
"Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message
news:OYFpsbyPFHA.3628@TK2MSFTNGP15.phx.gbl...
> Just to keep the answers in one thread
>
>
Author
12 Apr 2005 3:44 PM
Cor Ligthert
Dazed,

No problem at all, I made this to prevent that all answers would come
spreaded.

Although there are not much answers yet  :-(

Cor