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

Double click on a row of the SfDataGrid

Thread ID:





118752 Apr 7,2015 04:18 PM UTC Apr 8,2015 05:55 AM UTC WPF 1
Tags: SfDataGrid
Constantin Patak
Asked On April 7, 2015 04:18 PM UTC

I am currently having an SfDataGrid and a DataTable as an items source of the grid. What is the best way to implement the SfDataGrid double click only for grid rows event (not the headers, not the stack headers, etc.) and work correctly even if I re-order the column?

Thank you

Jai Ganesh S [Syncfusion]
Replied On April 8, 2015 05:55 AM UTC

Hi Patak,


Thank you for using Syncfusion products.


We have analyzed your query. You can achieve your requirement in SfDataGrid as double click event only works for grid rows by find the VirualizingCellsControl inside the double click event and then perform the action if the VirtualizingCellsControl is not null.


We already have a kb for this and please find the Kb link as below,


KB Link:




We have also prepared the sample based on this and please find the sample under the following location,


Sample: http://www.syncfusion.com/downloads/support/directtrac/135266/DatatableSample-1894104348.zip


Please let us know if you need further assistance.


Thank you,

Jai Ganesh S


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

or the page will be automatically redirected to 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