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

How to manage versions of items

3 Answers 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mathieu Estratat
Top achievements
Rank 1
Mathieu Estratat asked on 10 Jun 2010, 10:56 AM
Hi,
I am in front of a design problem : Is there a built in component available to manage the items version in a radgridview ?
A simple view of my problem is :
assume that you have 2 Classes
B with the following fields : string Name, string field1, string field2
A with the following fields : string field1, string field2 and BsField(which is a list of instance of B)

I want to display a list of A in a radGridView and display in the row details for each A the corresponding Bs in a grid following the parent grid design:
Suppose to have the following instances
b1('b11','b12')
b2('b21','b22')
b3('b31','b32')




a1 ('a1','a11','a21',{b1,b2})
a2 ('a2','a12','a22',{b3})

I want to have the following display :
      Name    |    field1    |    field2
-----------------------------------------
+    a1         |    a11      |    a21
-----------------------------------------
+    a2         |    a12      |    a22

with the corresponding display when the row details are open
      Name    |    field1    |    field2
-----------------------------------------
-     a1         |    a11      |    a21
-----------------------------------------
                   |    b11      |    b21
-----------------------------------------
                   |    b12      |    b22
-----------------------------------------
-     a2         |    a12      |    a22
-----------------------------------------
                   |    b13      |    b23

I guess this behavior will be managed by the next upcoming RadTreeListView component (2010 Q2 release), but I wonder if there is an other way to do that ?

Thanks a lot

Mathieu


3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Jun 2010, 08:57 AM
Hello Mathieu,

 Indeed aligning columns in hierarchical / row details grid is not a trivial task and it will be better to use RadTreeListView in such cases. You can check our beta demo here:
http://demos.telerik.com/silverlight/beta/#TreeListView/FirstLook 

Best wishes,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mathieu Estratat
Top achievements
Rank 1
answered on 14 Jun 2010, 02:38 PM
Hi Vlad,
Thanks a lot for your answer.
So, we will have to wait for the RadTreeListView Component release ... Do you know when it will exactely be released ?
Is there a way to have this beta component ? In the latest build (RadControls_for_Silverlight_4_2010_2_0609_DEV) I did not find it.
Best regards
Mathieu

0
Accepted
Hristo
Telerik team
answered on 15 Jun 2010, 10:57 AM
Hello Mathieu Estratat,

The official release or RadTreeListView will come with our Q2 2010 release which is expected in the first half of July.

As for its current availability it is included in our Q2 2010 Beta release (2010.2.609) in RadGridView assembly. To be able to work with it you need references to Telerik.Windows.Controls, Telerik.Windows.Data and Telerik.Windows.Controls.GridView.

Regards,
Hristo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Mathieu Estratat
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mathieu Estratat
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or