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
close icon

Tooltip in grid cell

I have the following code that doesn't work:

Private Sub mygrid_CellMouseHoverEnter(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridCellMouseEventArgs) Handles mygrid.CellMouseHoverEnter

Dim cell As CustomCellStyleProperties = New CustomCellStyleProperties(mygrid(e.RowIndex, e.ColIndex))

If cell.CustomCellProperties.Reserved Then

Me.grdTestMatrix.CellToolTip.ToolTipTitle = "Reserved"

End If

End Sub

No tooltip shows. Help please.


2 Replies

TM Tim Mostad September 4, 2008 11:26 PM UTC

there is a typo:

Me.grdTestMatrix.CellToolTip.ToolTipTitle = "Reserved"

s/b:

mygrid.CellToolTip.ToolTipTitle = "Reserved"




NA Nisha Arockiya A Syncfusion Team September 9, 2008 05:32 AM UTC


Hi Tim,

Thanks for your interest in Syncfusion products.

Inorder to make the CellToolTip to appear you have to activate it.Please refer to the following code snippet:

mygrid.CellToolTip.Active = true;


Please let me know if this helps.

Regards,
Nisha

>there is a typo:

Me.grdTestMatrix.CellToolTip.ToolTipTitle = "Reserved"

s/b:

mygrid.CellToolTip.ToolTipTitle = "Reserved"





Loader.
Live Chat Icon For mobile
Up arrow icon