I have a datagridview that is bound to a datasource. The under lying
data is not from a database, but biz objects. The first colume (InUse)
is a check box to determine if the rest of the row is enabled. When
the row is not in use, it is grayed out in the CellFormatting event.
After the user checks the InUse colume, the rest of the row does not
get repainted.

Is there a better way to control editablity of individual rows? If
not, how do I go about making the whole row get updated correctly? As
I click on the different cells and leave them, they change to the
correct color.

Re: Forcing DataGridView to repaint a row/disabling a row by scarleton

scarleton
Mon Sep 18 08:03:54 CDT 2006

I am just wondering, does anyone read this forum? The question below
is the 3rd posting that I have gotten NO reply to. Can you do me a
favor and simply reply with a "I read it" if you read it, so that I
know I am not wasting my time. I do apprecaite it!

Sam

scarleton@gmail.com wrote:
> I have a datagridview that is bound to a datasource. The under lying
> data is not from a database, but biz objects. The first colume (InUse)
> is a check box to determine if the rest of the row is enabled. When
> the row is not in use, it is grayed out in the CellFormatting event.
> After the user checks the InUse colume, the rest of the row does not
> get repainted.
>
> Is there a better way to control editablity of individual rows? If
> not, how do I go about making the whole row get updated correctly? As
> I click on the different cells and leave them, they change to the
> correct color.