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.

GridGroupingControl hovering over a cell should highlight whole raw

Thread ID:

Created:

Updated:

Platform:

Replies:

106120 Dec 11,2012 12:05 PM Dec 12,2012 11:44 AM Windows Forms 1
loading
Tags: Grouping
Gaukhar Massabayeva
Asked On December 11, 2012 12:05 PM

Hello,
 
In a way I want to reproduce the behaviour of onMouseOver and onMouseOut html behaviour but in gridgroupingcontrol.
 
Any help much appreciated.

Vinish Kumar K [Syncfusion]
Replied On December 12, 2012 11:44 AM

Hi Gaukhar Massabayeva,

 

Thank you for your interested in Syncfusion products.


We have implemented the simple and better sample to highlighted the whole row while mouse hovering in cell.  You can use CellMouseHoverEnter and CellMouseHoverLeave events to achieve the desired behavior in GridGroupingControl.

 

   void TableControl_CellMouseHoverLeave(object sender, GridCellMouseEventArgs e)

        {

            this.gridGroupingControl1.TableControl.Selections.Clear();

        }

 

        void TableControl_CellMouseHoverEnter(object sender, GridCellMouseEventArgs e)

        {

            int colCount = this.gridGroupingControl1.TableModel.ColCount;

            this.gridGroupingControl1.TableControl.Selections.Add(GridRangeInfo.Cells(e.RowIndex, 0, e.RowIndex, colCount));

        }


Please let me know if you have further concerns.


Regards,

Vinish.



Highlighted Entire row while mouse hover on cell_2188f1ec.zip

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.

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.

;