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

problem with selecting cells

Thread ID:





14001 May 16,2004 09:40 PM UTC May 17,2004 05:17 AM UTC WinForms 3
Tags: GridControl
jacky chen
Asked On May 16, 2004 09:40 PM UTC

i have a customised cell model public class ToolTipStaticCellModel : GridStaticCellModel in which i only override the public override GridCellRendererBase CreateRenderer(GridControlBase control) { return new ToolTipStaticCellRenderer(ContainingGrid,control, this); } and in my customised renderer, i override protected override int OnHitTest(int rowIndex, int colIndex, MouseEventArgs e, IMouseController controller) { if (controller != null && controller.Name == "SelectCells") return GridHitTestContext.Cell; return base.OnHitTest(rowIndex,colIndex,e,controller); } so that i can handle the mouse events and display a tool tip for the cells this works fine except when i try to hold down the mouse and select multiple cells, it doesn''t let me select is there an easy way around this? thanks in advance!

Administrator [Syncfusion]
Replied On May 16, 2004 10:44 PM UTC

Can you not use the build-in support for CellTips, setting the style.CellTipText property?

Administrator [Syncfusion]
Replied On May 16, 2004 11:00 PM UTC

>Can you not use the build-in support for CellTips, setting the style.CellTipText property? thanks Clay but the version i have doesn''t seem to have such support i got version

Administrator [Syncfusion]
Replied On May 17, 2004 05:17 AM UTC

Here is a KB link that shows how you might use the Windows Forms ToolTip to show cell tips. It should work in 1.5.2 without deriving a cell control. http://www.syncfusion.com/Support/article.aspx?id=10068


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

Live Chat Icon For mobile
Live Chat Icon