This is a migrated thread and some comments may be shown as answers.

How to have a common selected row

2 Answers 12 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dharmavaram
Top achievements
Rank 1
Dharmavaram asked on 23 Sep 2016, 09:22 AM

I have a radgridview for which each row details is having another property grid in it. 

Here is the similar example I found.  http://docs.telerik.com/devtools/wpf/controls/radgridview/row-details/template#complex-rowdetails-template

In this example the only difference with my scenario is Both Club and Player classes are derived from the Same calss named "XYZXYZ". 

So the common selected row property can be binded to a property of type "XYZXYZ".  or normal "object" type. 

 

And finally I am using this whole grid control as usercontrol in my main window, for this I will bind a SelectedItem property, which need to store the latest selected row datacontext, here the row may be from the outer grid or may be from the inner grids. 

 

2 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 27 Sep 2016, 11:11 AM
Hello Dharmavaram,

Unfortunately, I am not absolutely sure regarding the requirement you have. Would it be possible to share more details on what exactly you would like to achieve so I can consider the most appropriate for you options? Providing us with a sample project will be appreciated as well.

Regards,
Stefan Nenchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Dharmavaram
Top achievements
Rank 1
answered on 27 Sep 2016, 11:13 AM

Hi Stefan,

  I got the solution for my requirement.

Thank you,

Nagasree.

Tags
GridView
Asked by
Dharmavaram
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Dharmavaram
Top achievements
Rank 1
Share this question
or