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.
Syncfusion Feedback

Need Cell Type Value...

Thread ID:

Created:

Updated:

Platform:

Replies:

44257 May 18,2006 12:03 PM UTC May 19,2006 04:30 AM UTC Windows Forms 3
loading
Tags: GridControl
Sathish Chandran
Asked On May 18, 2006 12:03 PM UTC

Hi, I''m using Syncfusion Essential Suite 2.1.0.9 Version I want to get the Cell Type in OnMouseDown event. I''''m using the below event. protected override void OnMouseDown(MouseEventArgs e) { } Initially I assigned a key for the cell type inthe Query Cell Info and then in the above OnMouseDown event I would like to get the current cell type and based on the cell type I would like to tag SetXPContextMenu. This context menu has to be displayed only when we are doing right click. Thanks & Regards, Sathish.

Administrator [Syncfusion]
Replied On May 18, 2006 12:30 PM UTC

Hi Sathish, Try this code to get the currentcell.CellType in Renderer''s OnMouseDown event. Here is a code snippet. Console.Writeline("CellType " +this.CurrentStyle.CellType ); Please let me know if this helps. Best Regards, Haneef

Sathish Chandran
Replied On May 18, 2006 12:47 PM UTC

Hi, I could not able to get the this.CurrentStyle.CellType in the OnMouseDown event. Please help me out. Regards, Sathish.

Administrator [Syncfusion]
Replied On May 19, 2006 04:30 AM UTC

Hi Satish, I couldn''t get your query. The atttached sample seems to work fine for me. Can you send me some screenshots/sample or movie clip of what you are seeing and what you expect it to behave? If you can provide more information, we can try to suggest some solution. Here is a sample. http://www.syncfusion.com/Support/user/uploads/GridTest0_a628f4bc.zip Could you please run this at your end and let me know how it goes? Thanks for choosing Syncfusion Products. Best Regards, Haneef

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.

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

;