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.

grid grouping control cell cursor

Thread ID:





101612 Nov 8,2011 03:14 AM Nov 29,2011 11:35 PM ASP.NET Web Forms (Classic) 5
Tags: Grouping
Asked On November 8, 2011 03:14 AM


How can I add a hand cursor
to a specific cell in GGC child table.

Arulraj A [Syncfusion]
Replied On November 11, 2011 05:23 AM

Hi Michal,

Thanks for using Syncfusion Products.

To set cursor for a particular cell in a child table, we suggest you to hook the ChildTableControl’s CellCursor event and set the cursor. Using the following code, this can be achieved.

GridTableControl childTableControl = this.groupingGrid1.GetTableControl("Products");
childTableControl.CellCursor += new GridCellCursorEventHandler(childTableControl_CellCursor);

void childTableControl_CellCursor(object sender, GridCellCursorEventArgs e)
if (e.RowIndex == 3 && e.ColIndex == 3)
e.Cursor = Cursors.Hand;
e.Cursor= Cursors.Default;
e.Cancel = true;

Here is a sample for your reference.

Please let us know if you have any further concerns.


Replied On November 14, 2011 01:49 AM

thank you for the answer,
but this is not what I need.
I have a web grid and I had not found any event
for cursor.

Yogeshwaran [Syncfusion]
Replied On November 16, 2011 04:35 AM

Hi Michal,

Sorry for the inconvenience caused.

Your requirement to set hand cursor at particular child cell can be achieved by using CSS property in "QueryCellStyleInfo". please refer the following code snippet:


//border color depends on grid color
border-color: #96C5F3 !important;
border-style: none none solid solid !important;
border-width: 0.5px 0 1px 1px !important;
padding-left: 4px !important;
padding-right: 4px !important;
cursor:pointer !important;

[code behind C#]

void GridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Web.UI.WebControls.Grid.Grouping.GridTableCellStyleInfoEventArgs e)

if (e.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell || e.TableCellIdentity.TableCellType == GridTableCellType.AlternateRecordFieldCell)
if (e.TableCellIdentity.Column.MappingName == "Role" && e.TableCellIdentity.Table.TableDescriptor.Name == "ChildEmployee")
if (e.Style.Text == "software level2")
e.Style.CssClass = "CursorChange";



For your convenience, we have created the simple sample and the same it can download from below link:

HAND CURSOR-682038469.zip

please let us know any other concerns.


Yogesh R

Replied On November 28, 2011 06:10 AM

Thank you very much,
it solved my problem.

Yogeshwaran [Syncfusion]
Replied On November 29, 2011 11:35 PM

Hi Michal,

Thank you for using Syncfusion products.

we are happy to know that your issue is resolved.

Please let us know if any other concerns.

Yogesh R


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.