Marking a changed row

  • Thread starter Thread starter andy
  • Start date Start date
A

andy

I'm working in dotnet 2003.
I have a datagrid.
The user would like to see some sort of highlight of rows they have
changed.
Anything would do.
An icon in the rowheader would be the ideal I can think of.
Changing colour of a cell or sticking an icon it would also work.

Nno need to worry about original values as they will input everything
at one go..
Couldn't see anything on George shepherd's faq,

Any ideas?

TIA,
 
Thanks Cor,

Not noticed you had a site, although I've seen a number of posts by
both you and Ken.

Checkbox sounds good.
I worked out the the row would be marked as changed I was just
wondering how to drive setting something from what event.
Didn't think of looping through all of them.
There's only going to be about 60 rows so looping through these every
time the cell changes will be fine.
I've seen stuff overrides the paint event and puts things into the
rowheader area but they look like I'd end up spending more time than I
want to.

Pity the datagrid functionality doesn't mark changed rows visually but
then you can write code can do just about anything with .net so can't
complain about the functionality when compared to vb6.

Thanks Cor.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top