DM
Deenadhayalan M
Syncfusion Team
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.
Regards,
Deenadhayalan