OnPaint of Datagrid

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
 

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

Top