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

How to focus to child table row using tab key

Thread ID:





117832 Dec 24,2014 07:31 AM UTC Jan 1,2015 02:25 PM UTC WinForms 1
Tags: GridGroupingControl
Asked On December 24, 2014 07:31 AM UTC

I want to focus  child table row using tab key.
If I have rowindex of child table then How to focus particular cell of that rowindex.
Is any solution regarding this?


Muthukumar Kalyanasundaram [Syncfusion]
Replied On January 1, 2015 02:25 PM UTC

Hi Paurnima,


Sorry for the delay in response.


If you want to focus the child table row  using the tab key and also focus the particular cell of row index in a grid, you can use the “TableControlKeyDown” event and focus particular cell by using “MoveTo()”method and set the “GridSetCurrentCellOptions” as SetFocus. Please refer the below code,




this.gridGroupingControl1.TableControlKeyDown += new GridTableControlKeyEventHandler(gridGroupingControl1_TableControlKeyDown);

void gridGroupingControl1_TableControlKeyDown(object sender, GridTableControlKeyEventArgs e)


   GridCurrentCell cc = e.TableControl.CurrentCell;

   GridTable tablechild = this.gridGroupingControl1.GetTable("Orders");

   if (tablechild.CurrentRecord != null)


     if (e.Inner.KeyCode == Keys.Tab)


         e.TableControl.CurrentCell.MoveTo(GridRangeInfo.Cell(cc.RowIndex + 1, 1), GridSetCurrentCellOptions.SetFocus); // focus to next row in child table



   MessageBox.Show("Table RowIndex : " + tablechild.CurrentRecord.GetRowIndex());

   e.Inner.Handled = true;



Please let us know if you have any concern.



Muthukumar K

Attachment: Focus_particular_cell__Tab_key_e5a37b63.zip


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