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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Handling MouseWheel in unselected cell

Thread ID:





97144 Nov 2,2010 10:14 AM UTC Nov 3,2010 06:50 AM UTC WinForms 1
Tags: GridControl
Raul Rosenthal
Asked On November 2, 2010 10:14 AM UTC

I have a grid that uses a user control to render its cells.
I implemented all the required magic, with a cell model derived from GridGenericControlCellModel and a renderer derived from GridGenericControlCellRenderer.

I can't figure out how to make the cell handle events that don't require the cell to be selected, such as MouseWheel.
When the cell is selected, there is a real control active in it, and it receives the necessary events.
When the cell is not selected, it is just a picture generated internally by the grid using the same instance of my control for all the cells, so there is nobody to received the events.

I think I should handle the events in the renderer (as shown in the Derived Cell Contro Tutorial sample), but I don't know how.
Moreover, there is no OnMouseWheel method that I can override in the renderer, so I'm stuck.

Can you please point me in the right direction?


Jisha Joy [Syncfusion]
Replied On November 3, 2010 06:50 AM UTC

Hi Raul,

Your Direct-Trac incident 73631 has been updated for the same query. Please follow up with it.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon