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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mouse Hover in Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

80573 Apr 13,2009 03:31 PM UTC Apr 14,2009 11:19 AM UTC WinForms 2
loading
Tags: GridControl
Reynante Bulayo
Asked On April 13, 2009 03:31 PM UTC

Hi,

How do i enable a cursor change while the mouse hovers in the cells of a particular row of grid grouping control. Tried using TableControlCellMouseHover of Grid Grouping control to no avail. The hand cursor is not appearing.

Private Sub ggc_TableControlCellMouseHover(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellMouseEventArgs) Handles ggc.TableControlCellMouseHover

If e.Inner.ColIndex = 1 Then
System.Windows.Forms.Cursor.Current = Cursors.Hand
Else
System.Windows.Forms.Cursor.Current = Cursors.Default
End If
End Sub



Administrator [Syncfusion]
Replied On April 14, 2009 02:17 AM UTC

Private Sub GridGroupingControl1_TableControlCellCursor(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellCursorEventArgs) Handles GridGroupingControl1.TableControlCellCursor

If e.Inner.ColIndex = 1 And e.Inner.RowIndex > 2 Then
e.Inner.Cursor = Cursors.Hand
e.Inner.Cancel = True
End If
End Sub


Lingaraj S [Syncfusion]
Replied On April 14, 2009 11:19 AM UTC

Hi Rentao,

Thank you for your interest in Syncfusion product.

The GridGroupingControl cursors are handled internally, so if you want to change the cursor in particular rows, Please try using TableControlCellCursor event in GridGroupingControl.

Please refer code in previous user update.

Let me know if it helps.

Regards,
Lingaraj S



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

;