Hi Rasika,
Thank you for your interest in Syncfusion products.
If
you want to get the display element or record while clicking the “Down Arrow” button, you can use TableControlCurrentCellKeyDown event. Using this event, you can get the
record by accessing DisplayElement. Please make use of below code and attached sample,
Code
Snippet:
this.gridGroupingControl1.TableControlCurrentCellKeyDown
+= new GridTableControlKeyEventHandler(gridGroupingControl1_TableControlCurrentCellKeyDown);
void
gridGroupingControl1_TableControlCurrentCellKeyDown(object
sender, GridTableControlKeyEventArgs e)
{
if
(e.Inner.KeyCode == Keys.Down)
{
GridTableCellStyleInfo
style =
e.TableControl.GetTableViewStyleInfo(e.TableControl.CurrentCell.RowIndex,
e.TableControl.CurrentCell.ColIndex);
Record
record = style.TableCellIdentity.DisplayElement.GetRecord();
}
}
Please me know if you have any concerns.
Regards,
Neelakandan
Attachment:
Sample_DisplayElement_1ec35d20.zip