We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

OnDrawCell

I''m overriding OnDrawCell() and successfully painting an icon into the cell. However, when I highlight a row by clicking with the mouse, the highlight bar gets drawn over the image. If I scroll the highlighted bar with the keyboard, the image is drawn with the row highlight correctly alphablended over the top. Any ideas what I''m doing wrong? I''ve tried not calling base.OnDrawCell() etc.

2 Replies

AD Administrator Syncfusion Team June 8, 2005 01:09 PM

Just somethng to try. Move your drawing code from DrawCell to CellDrawn to see if it work better for you there.


MW Mike Woolley June 10, 2005 04:49 AM

Thanks Clay, that works fine now.

Loader.
Live Chat Icon For mobile
Up arrow icon