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.
Unfortunately, activation email could not send to your email. Please try again.

Handling MouseWheel in unselected cell

Thread ID:

Created:

Updated:

Platform:

Replies:

97144 Nov 2,2010 06:14 AM Nov 3,2010 02:50 AM Windows Forms 1
loading
Tags: GridControl
Raul Rosenthal
Asked On November 2, 2010 06:14 AM

Hello.
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?
Thanks.

Regards,
Raul



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

Hi Raul,

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

Jisha


CONFIRMATION

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.

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.

;