OnPaint of Datagrid

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

Hi all,

I cannot remember where I read the article, however I read one that showed
me how to overide the paint function of a datagrid so that I could highlight
certain cells in different colours. This works great however if I sort the
datagrid by a particular column the rows do not get updated so the wrong
rows are then coloured! Can i force the datagrid to redraw when it is
sorted?

Thanks
Gav
 
Back
Top