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

How to catch mousedown event in a nested GridDataControl

Thread ID:





99958 Jun 22,2011 03:50 PM UTC Jun 24,2011 01:10 PM UTC WPF 1
Tags: GridControl
Jorge Pampin
Asked On June 22, 2011 03:50 PM UTC


How to catch mousedown event in a nested GridDataControl? I need to implement Drag&Drop rows in a child grid.


Deenadhayalan M [Syncfusion]
Replied On June 24, 2011 01:10 PM UTC

Hi Jorge,

Sorry for the inconvenience caused.

Currently, In nested GridDataControl cannot be able to handle the MouseDown event.

But We can able to achieve CellClick event in nested GridDataControl as follows,

Code Snippet [C#]:

void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
if (e.Style.CellType == "NestedGrid")
GridDataTableModel tableModel = e.Style.CellValue as GridDataTableModel;

if (tableModel.Grid != null && !dictionary.ContainsKey(tableModel))
tableModel.Grid.CellClick += new GridCellClickEventHandler(Grid_CellClick);
dictionary.Add(tableModel, e.Cell.RowIndex);

Please let us know if you have any queries.



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