I have successfully created the hierarchical grid and the sub-grid. I am now needing to allow the user to double click on the sub grid that is shown. How would I go about doing this?
I am creating the subgrid like this:
Now I just need to know how to call a function with a double click. Any ideas?
Thanks!
I am creating the subgrid like this:
| GridViewTemplate oppSubGrid = new GridViewTemplate(); |
| // .. other code goes here to setup columns, etc. |
| gridDupes.MasterGridViewTemplate.ChildGridViewTemplates.Add(oppSubGrid); |
| GridViewRelation relation = new GridViewRelation(gridDupes.MasterGridViewTemplate); |
| relation.ChildTemplate = oppSubGrid; |
| relation.RelationName = "ContactsOpportunities"; |
| relation.ParentColumnNames.Add("ID"); |
| relation.ChildColumnNames.Add("ContactID"); |
| gridDupes.Relations.Add(relation); |
Now I just need to know how to call a function with a double click. Any ideas?
Thanks!