Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144231 | Apr 25,2019 07:15 PM UTC | Apr 29,2019 10:49 AM UTC | WinForms | 1 |
![]() |
Tags: GridGroupingControl |
#Form1.cs
private void GridGroupingControl1_TableControlCurrentCellKeyUp(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlKeyEventArgs e)
{
GridTableCellStyleInfo style = e.TableControl.GetTableViewStyleInfo(e.TableControl.CurrentCell.RowIndex, e.TableControl.CurrentCell.ColIndex);
Record record = style.TableCellIdentity.DisplayElement.GetRecord();
int startIndex = this.gridGroupingControl1.Table.Records[0].GetRowIndex();
int actualIndex = record.GetRowIndex() - startIndex;
Console.WriteLine("Current row index: " + actualIndex);
} |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.