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

RaiseCellClick

I''m displaying a context menu in the gridcontrol_mousedown event. Based on the menu choice, I''d like to raise a click event in a checkbox on the current row. I can''t seem to figure out just how to communicate the menu choice to the gridcontrol cell click event.

2 Replies

AD Administrator Syncfusion Team March 31, 2005 10:06 PM UTC

There is no variable in the cell click event args that you can use to pass such information. One way you can do this is to add a form-level field and set it to to -1. Then before you raise the event, make it hold the menu item. Then test this variable in your handler, ressetting it to -1 as well.


AD Administrator Syncfusion Team March 31, 2005 10:46 PM UTC

If you really want to use an event to handle things, you can create your own event whose event args passes the menu information as well as the cellclick args. Then you can raise your new event, and catch it in the grid.

Loader.
Live Chat Icon For mobile
Up arrow icon