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.
Unfortunately, activation email could not send to your email. Please try again.

ggc as listview and getting record thru dbl-click event

Thread ID:





51630 Nov 9,2006 01:29 PM Nov 9,2006 11:20 PM Windows Forms 1
Tags: Grouping
Asked On November 9, 2006 01:29 PM

When a user double clicked an item in the ggc that behaves as a list view, I would like to get a ref to the underlying record in the dataset that it is bound to.

Which event of the ggc should i hook into?

Administrator [Syncfusion]
Replied On November 9, 2006 11:20 PM

Hi James,

You can handle the TableControl.CellDoubleClick event and get the current record using Table.CurrentRecord. Below is a code snippet

this.grid.TableControl.CellDoubleClick +=new GridCellClickEventHandler(TableControl_CellDoubleClick);

private void TableControl_CellDoubleClick(object sender, GridCellClickEventArgs e)
GridTableControl tc = sender as GridTableControl;

Best Regards,


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.

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.