DataGrid and out of whack paint

  • Thread starter Thread starter B.J. Raiford
  • Start date Start date
B

B.J. Raiford

I implemented a customizable data grid as per this article I found on MSDN,
http://msdn.microsoft.com/library/d...winforms/html/wnf_CustDataGrid.asp?frame=true.
I did this because I need rows, which represent people, to be displayed in
groups, families, using colors. So for example there may be three rows of
the smith family then the Jones family who is next has two people so then
those two are the same color.

Anyway, everything seems to work fine on the initial paint. But once you do
something that requires the application to be repainted, scroll or move then
all of the row coloring gets out of whack. Has anyone run into this
before/found a solution?
 

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