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")
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!
ADAdministrator Syncfusion Team May 16, 2004 05:44 PM
Can you not use the build-in support for CellTips, setting the style.CellTipText property?
ADAdministrator Syncfusion Team May 16, 2004 06:00 PM
>Can you not use the build-in support for CellTips, setting the style.CellTipText property?
but the version i have doesn''t seem to have such support
i got version 220.127.116.11
ADAdministrator Syncfusion Team May 17, 2004 12:17 AM
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.