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

grid grouping control cell cursor

Thread ID:





101612 Nov 8,2011 08:14 AM UTC Nov 30,2011 04:35 AM UTC ASP.NET Web Forms (Classic) 5
Tags: Grouping
Asked On November 8, 2011 08:14 AM UTC


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

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

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 06:49 AM UTC

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 09:35 AM UTC

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 11:10 AM UTC

Thank you very much,
it solved my problem.

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

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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