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

ggc as listview and getting record thru dbl-click event

Thread ID:





51630 Nov 9,2006 06:29 PM UTC Nov 10,2006 04:20 AM UTC WinForms 1
Tags: Grouping
Asked On November 9, 2006 06:29 PM UTC

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 10, 2006 04:20 AM UTC

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.

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