MW
Melba Winshia
Syncfusion Team
August 10, 2007 02:04 PM UTC
Hi Sascha,
Thank you for your interest in Syncfusion Products.
If your intention is to handle a double click event for a row, it can be achieved by using 'CurrentRecordContextChange' event. The default behavior of the gridcontrol when double clicking a row is it goes to the edit mode when double clicking a row. You can cancel this behavior and can use row double click related code inside the 'CurrentRecordContextChange'event
[C#]
public void GridGroupingControl1_CurrentRecordContextChange(object sender,CurrentRecordContextChangeEventArgs e)
{
if (e.Action == CurrentRecordAction.BeginEditComplete)
{
//Here you can write your code needed for the row double click instead of default editing.
//this.GridGroupingControl1.Table.EndEdit();
e.Cancel = true;
}
}
If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?
Thanks,
Melba