(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

DataGrid and row details in Silverlight

(27 votes)
Martin Mihaylov
>
Martin Mihaylov
Joined Oct 29, 2007
Articles:   50
Comments:   70
More Articles
38 comments   /   posted on Oct 03, 2008
Categories:   Controls
Tweet This!

This article is compatible with the latest version of Silverlight.

It is time for my next article about the DataGrid control in Silverlight. This time I will focus on the row details template, used to

 present additional information related to the whole row. We can always use an additional column to display this information, but using the row details has its advantages, such as: the row details doesn't affect the dimensions of the row and the cells in it, it can be shown only for a particular row and is bound to it.

Download source code

Adding row details to a DataGrid row

To create row details for our DataGrid the only thing we have to do is to set the RowDetailsTemplate property to an appropriate template. As you know there are no limitations for the template, so we can put whatever controls we like in it, just be sure to layout your controls properly by using hosting panel.

<my:DataGrid x:Name="Foods" Height="550" AutoGenerateColumns="False">
    <my:DataGrid.RowDetailsTemplate>
        <DataTemplate>
            <StackPanel Orientation="Horizontal" Background="White">
                <Image Source="logo.png" Margin="5,5,5,5"></Image>
                <TextBlock Margin="5,5,5,5" 
                           Width="350" 
                           Text="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum varius.
                                Nullam felis purus, 
                                lacinia at, molestie non, porttitor sit amet, lectus. Fusce molestie,
                                diam ac rutrum faucibus, 
 nulla diam luctus." 
                           TextWrapping="Wrap">
                </TextBlock>
            </StackPanel>
        </DataTemplate>
    </my:DataGrid.RowDetailsTemplate>
    <my:DataGrid.Columns>
        ...
    </my:DataGrid.Columns>
</my:DataGrid>

The grid row and the controls in the row details share one and the same DataContext, so they can be also bound. For example the Text property of the TextBlock can be bound to the Description property of the DataContext object.

Row details visibility

With the property RowDetialsVisibilityMode we can change the visibility of the row details. It has three values:

 

When set to Collapsed the row details are never shown, Visible makes the row details for each row visible all the time and VisibleWhenSelected displays the row details for the selected row only. The default value is VisibleWhenSelected.

The RowDetailsVisibilityChanged event

This event is raised when a change to the visibility of the row details is made. For example if we have DataGrid with RowDetailsVisibilityMode set to VisibleWhenSelected, the event is raised when the row is selected and the row details are shown. Note that this event is also raised when the row details of the previously selected row are hidden.

Summary

That was a pretty short and simple article, but the row details feature of the DataGrid is really important and powerful one. So even if it looks easy, it gives us the possibility to add a great interactivity and functionality to the DataGrid.

If you have any questions or comments, please use the comments section bellow.

Thank you.


Subscribe

Comments

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by ak on Oct 08, 2008 18:47

    Could you upload your soure please?

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Oct 09, 2008 00:13

    Hi, ak!

    I have added a link to the source code, it seems I had forgotten about it, thanks for reminding me! :)

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Necriis on Oct 20, 2008 07:12

    Great article !

    Is this the only (easiest) way to catch a cell modification event ? (Best I've seen, for now ...)

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Frank on Oct 21, 2008 13:40

     

    The datagrid in my example is two dimensional
     
    Six columns across
    10 rows down
     
    I want to get the data out of the one cell that intersects Row 6 column 4  (6,4)
     

    the name of the datagrid is "theDG"

     

    the name of the fourth column is colD

     

    I think the code is something like the following (C#)

    itemC = theDG.rows[6].colD

     

    any ideas?

     

    Thanks

     

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Oct 24, 2008 04:30

    @Necriis: Which event do you mean - the RowDetailsVisibilityChanged one? Or one of the events I used in the previous article about the Editing in the DataGrid? Sorry if I missunderstood you :)

    @Frank: First the DataGrid has a collection only for the columns and second you can't access a specific cell using the DataGrid column. So do only thing I think of is to use the SelectedItem property of the DataGrid as it contains the DataContext for the entire row. From the DataContext you can easily gather the desired data. If I come into a better way to do this, I'll let you know.

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by AK on Oct 28, 2008 20:55

    Hi, Enrai

    I want to ask you another question about datagrid,

    When i select the row which i want, how to get the number of row?

    eg. I select the row 3, so in the source how can i get the "3" using selectchanged event?

    Thanks..

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Oct 29, 2008 07:57

    You can find the index of the currently selected row in the SelectedIndex property of the DataGrid. Just note the indexing of the rows starts from 0.

    If you have more questions, don't hesitate to ask! ;)

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by AK on Oct 29, 2008 23:09

    Thanks for your reply

    Now, i use the DataTemplate(TextBox) to implement my project.

    And, I find that when i change the row, the SelectionChanged event can't be fired.

    I use the common datagrid and DataTemplate(TextBlock), both of them are Ok.

    Why datagrid's SelectionChanged event can't be fired using DataTemplate(TextBox)?

    Thanks

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Oct 30, 2008 02:57

    If you take a closer look at your sample you'll notice that clicking on the TextBox doesn't change the row selection, but if you click somewhere outside the TextBox in the cell the selection is changed. The same happens if you use another active control like button, radio button etc, so I guess that's the reason. I think it got something to do with the focus, but for now I don't have a concrete explanation. You can consider trying to use to use a TextBlock control and put the TextBox into the EditingTemplate of the cell, if this suits your application.

    If you come with any other ideas, share them please! :)

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Fernando Z on Nov 13, 2008 14:52

    Why use the DataGridTemplateColumsn allow you to define your columns however you want.  As show below I  have a grid with a textbox in one column and a customized checkbox in the other. 

    Fernando

    [code]

    <my:DataGrid.Columns>
    <!-- Could not figure out how to enable/disable controls within Data Template so 
    I just hooked events to them and disabled them in the event handlers -->
        <my:DataGridTemplateColumn x:Name="columnDescription" CanUserSort="True" SortMemberPath="Description" Width="360"
            Header="Description" IsReadOnly="False">
            <my:DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Border CornerRadius="4" BorderThickness="5,5,5,5">
                        <StackPanel Orientation="Horizontal"> 
                            <TextBox MaxLength="100" x:Name="txtDescriptionInList" LayoutUpdated="txtDescriptionInList_LayoutUpdated" 
                                Width="350" VerticalAlignment="Center" BorderThickness="0" Text="{Binding Description, Mode=TwoWay}" 
                                GotFocus="txtDescriptionInList_GotFocus"> 
                                <!--Make the textbox transparent--> 
                                <TextBox.Background > 
                                    <SolidColorBrush Color="White" Opacity="0"/> 
                                </TextBox.Background> 
                            </TextBox> 
                        </StackPanel> 
                    </Border> 
                </DataTemplate> 
            </my:DataGridTemplateColumn.CellTemplate> 
        </my:DataGridTemplateColumn> 
        <my:DataGridTemplateColumn x:Name="columnAvailable" CanUserSort="True" Width="140" Header="Availability" 
            SortMemberPath="Available" IsReadOnly="False"> 
            <my:DataGridTemplateColumn.CellTemplate>
                <DataTemplate> 
                    <Border CornerRadius="4" BorderThickness="5,5,5,5"> 
                        <StackPanel Orientation="Horizontal"> 
                            <!--<Image Margin="20,0,20,0" Width="20" Height="20" Canvas.Left="0" Canvas.Top="0" 
                                Source="{Binding AvailableImage, Mode=TwoWay}" Stretch="Fill"/>-->
                            <!--<CheckBox Margin="10,0,0,0" VerticalAlignment="Center" 
                                IsChecked="{Binding Available, Mode=TwoWay}"></CheckBox>--> 
                            <CheckBox HorizontalAlignment="Stretch" IsChecked="{Binding Available, Mode=TwoWay}" 
                                Style="{StaticResource CheckBoxAvailableAsset}" VerticalAlignment="Stretch" 
                                RenderTransformOrigin="0.5,0.5" IsThreeState="False" Content="" 
                                Background="Transparent" Click="CheckBox_Click"> 
                                <CheckBox.RenderTransform> 
                                    <TransformGroup> 
                                        <ScaleTransform /> 
                                        <SkewTransform /> 
                                        <RotateTransform /> 
                                        <TranslateTransform /> 
                                    </TransformGroup> 
                                </CheckBox.RenderTransform> 
                            </CheckBox> 
                        </StackPanel> 
                    </Border> 
                </DataTemplate> 
            </my:DataGridTemplateColumn.CellTemplate> 
        </my:DataGridTemplateColumn>
    </my:DataGrid.Columns>

    [/code]

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Fernando Z on Nov 13, 2008 14:58

    My Sincere apologies about the above post.  I didn't realize it would post the way it did.

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Rajmund on Nov 18, 2008 09:57

    I have little problem with details row template.

    Is it possible to change height of the details row?

    Sometimes i can't see all information in details row

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Nov 18, 2008 10:48

    @Rajmund The height of the row details template depends on the height of the controls in it. In my example I can control the width and the height of the row details via the width and the height of the StackPanel control. So try setting the hegith of the layout control to Auto or choose a constant height that will suit all row details.

    @Fernando Z I assume that you're trying to do the following thing: You want your control to be disabled, but when the cell is selected you want it to be active. I also have tried to do that, but I haven't found a way to access the selected cell and work with the controls in it. I have also tried the following: I have defined them as disabled in the XAML, but when disabled they doesn't get focus, so there is no event I could hook up in order to enable them again. I'm going to try the trick with the transparency, that you have shown in your code.

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by VK on Nov 18, 2008 20:10

    By default the first row is always selected and the Row details are visible (I have RowDetailsVisibilityMode = "VisibleWhenSelected" ). I tried datagrid.SelectedIndex = - 1 and datagrid.SelectedItem = null. Doesn't seem to manke any difference.

    I would like to have the RowDetails collapsed by defaul and visible when selected. Any thoughts on this.

    Thanks

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Rajmund on Nov 19, 2008 02:47

    When I choose constant height it works fine, but setting height to Auto doesnt work. Thanks for your help

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Nov 19, 2008 09:29

    @VK I have also tried the same, it's the most logical approach, but as you said - no effect. At first look it seems that the problem is in the SelectedIndex property, but I investigated a bit the issue and found that when the ItemsSource is set and the data is bound the SelectedIndex is set to 0. Sadly there i no event that fires when the data is bound. If you do something like this:

    Foods.ItemsSource = data;
    Foods.SelectedIndex = -1;

    it won't work. It seems that when the SelectedIndex is set the data is still not bound and after that it gets set again.

    Me and one of my collegues have found some kind of workaround for this issue.

    When the SelectedIndex is set to 0 the SelectionChanged event is raised and we use it in order to set the SelectedIndex, knowing that it won't be changed behind the scenes anymore.

    public Page()
    {
     
        InitializeComponent();
        ...
        Foods.ItemsSource = data;
        this.Foods.SelectionChanged += SetDefaultSelectedIndex;
    }
     
    void SetDefaultSelectedIndex( object sender, SelectionChangedEventArgs e )
    {
        this.Foods.SelectionChanged -= SetDefaultSelectedIndex;
        this.Foods.SelectedIndex = -1;
    }

    The problem here is that the SelectionChanged is an important event for the DataGrid and we may want to use it with another purpose later on. This issue occurs only when the data is bound, so when we handle this SelectionChanged event with the intention to set the SelectedIndex to -1, we also dettach the handler from it. Here you can also attach the handler that we'll be used further on.

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Mohammed Mudassir Azeemi on Nov 21, 2008 15:37

    Hello,

    I have a question, how should I know that "What Row holds the specified Control with the Specified data?"

    My xaml code is:

     


            <my:DataGrid x:Name="dg1"
                                     RowDetailsVisibilityMode="Collapsed"
                                     AutoGenerateColumns="False"
                                     Margin="0,0,0,90"
                                     Style="{StaticResource DataGridStyle1}"
                                     SelectionChanged="dg1_SelectionChanged"
                                     SelectionMode="Single"
                                     >
                <my:DataGrid.RowDetailsTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal" Background="White">
                            <!-- In the row details you can also use binding as in the column definitions,
                            because it shares the same DataContext as the row. -->
                            <TextBlock Margin="5,5,5,5" Width="350" Text="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum varius. Nullam felis purus, lacinia at, molestie non, porttitor sit amet, lectus. Fusce molestie, diam ac rutrum faucibus, nulla diam luctus. " TextWrapping="Wrap"/>
                        </StackPanel>
                    </DataTemplate>
                </my:DataGrid.RowDetailsTemplate>
                <my:DataGrid.Columns >
                    <my:DataGridTemplateColumn Header="Expand" >
                        <my:DataGridTemplateColumn.CellTemplate>
                            <DataTemplate  >
                                <StackPanel Orientation="Horizontal">
                                    <CheckBox x:Name="grdChkBox1" Height="17.334"
                                                    HorizontalAlignment="Left"
                                                    Style="{StaticResource CheckBoxStyle1}"
                                                    VerticalAlignment="Bottom"
                                                    Width="95.333" d:LayoutOverrides="Height" Click="grdChkBox1_Click"/>
                                </StackPanel>
                            </DataTemplate>
                        </my:DataGridTemplateColumn.CellTemplate>
                    </my:DataGridTemplateColumn>
                    <my:DataGridTextColumn Binding="{Binding Path=FirstName}" Header="First Name" IsReadOnly="True"/>
                    <my:DataGridTextColumn Binding="{Binding Path=LastName}" Header="Last Name"/>
                    <my:DataGridTextColumn Binding="{Binding Path=LastName}" Header="Age"/>
                   
                </my:DataGrid.Columns>
            </my:DataGrid>
     

     

    My xaml.cs code is :

        List<Data> source = new List<Data>();
                int itemsCount = 100;

                for (int i = 0; i < itemsCount; i++)
                {
                    source.Add(new Data()
                    {
                        FirstName = i+"First",
                        LastName = i + "Last",
                        Age = i,
                        Available = (i % 2 == 0)
                    });
                }

                dg1.ItemsSource = source;

     

    Now what I want is , when somebody clicked on my the "Chekbox" then I want 1) To see which "Row"  is need to be expanded, 2) Give me the "Row" detail so I can enable the "RowDetailsVisibilityMode="Collapsed"  to visible.

     

    Any idea how I can acheive this via Event Handler?

    Thanks,

    Mudassir Azeemi

     

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Nov 24, 2008 03:58

    1) When having an active control such as Button, RadioButton, CheckBox etc. in a DataGrid you can't use them (at least for now) to manipulate the row they are placed in. The reason is that the focus goes to the control but its row doesn't get focused. So the SelectionChanged event doesn't fire, the SelectionIndex doesn't get changed and you have no information about the row that the control is placed in.

    2) There is no way to get the RowDetail for particular row and manipulate it, as there is no collection for the rows of the DataGrid.

    Why don't you just set the RowDetailsVisibilityMode to VisibleWhenSelected? It makes the details visible when the row is selected and I think the result is identical with what you want to achieve. You use the checkbox to select the row and then expand the its Rowdetails - as I understand it, if you use the VisisbleWhenSelected you spare yourself a lot of code and an additional column and the result is the same.

    Sorry if I missunderstood you, if you ment something else, please explain it and I'll try to help you. :)

  • SilverlightOIS

    RE: DataGrid and row details in Silverlight 2


    posted by SilverlightOIS on Dec 03, 2008 10:09

    Uhm!  Hello All!

    I am working with Datagrid of Silverlight  and I have a proplem with it . So I hope everyone who know it can help me!

    My proplem is : I have a Datagrid,when the data is loaded,I want to change the Background and the Foreground of a cell.

    I can't  take a cell in the grid , I have search in Google and now I can take a cell, but I can only change the Foreground of a cell  and I can't change the Background of a cell.

    I used the code in the follow link : http://silverlight.net/forums/t/42372.aspx .  THANK YOU VERY MUCH !

  • Enrai

    RE: DataGrid and row details in Silverlight 2


    posted by Enrai on Dec 04, 2008 03:15

    You can try to change the cell template by setting the CellStyle property for the cell taht you have taken as selected. Here is the generic.xaml for the DataGrid. In it find the style for the DataGridCell and configure the ControlTemplate to your likings. Then place the configured template in the style for the selected cell. ;)

     

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by mHectorGato on Dec 04, 2008 12:56

    First off, thanks for article!

    I would like to use a datagrid to show multi table data that has an 1 to many relationship. There's no problem showing the parent row with DataBinding. I've put a DataGrid in my DataTemplate just fine. Using the RowDetailsVisibilityChanged event I can set the binding for the Detail DataGrid.

    The problem I am experienceing is that the SelectedIndex seems to be a step behind what's happening.

    For example, the first time it fires (on load of the parent grid) the value is -1. When I click on the fourth row, SelectedIndex is 0, and then if I click back to the first row, the SelectedIndex is 3. I'm guessing that the event is fired before the Index value is changed.

    Another issue I am facing is that I would like to make the loading of the details grid conditional on a value in the parent row. Since the SelectedIndex seems to be a step behind, I tried to use the SelectionChanged event to get at the data. But that seems to be fired after the RowDetailsVisibilityChanged is.

    I think I could code around these issues, but it doesn't seem to make sense that I would need to. Am I missing something here?

    Thanks!

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by JUANID on Dec 12, 2008 12:21

    Well done!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by rose on Feb 05, 2009 23:28

    i want to display another datagrid by selecting the row of a another datagrid.........plz help me....am new in silverlight

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by alphalima on Mar 16, 2009 16:23
    I have a datagrid in the DataTemplate of a RowsDetailTemplate.  How do I reference it?

     

     

     

     

     

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Tibi on Apr 01, 2009 07:55
    Hello everyone... I have the same issue, a datagrid in another datagrid and i don't know how to reference it... Or how to bind some list of object to it... Pls help (also new in silvelight)
  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Rafael on May 30, 2009 18:45
    Hello, how could i raise event DataGridRowDetailsEventArgs just when i click in one single cell and not in all row, i have more than one detail

    tks

    Rafael

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by huhu on Aug 18, 2009 08:13
    using button?

     


  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Pedro Palma on Jan 22, 2010 16:09

    Hi,

    I have a DataGrid with various columns and RowDetails with TextBox. When I surf with the tab key, the TextBox RowDetails does not receive focus after exiting the last column in the DataGrid. What should I do to the TextBox receives focus on column navigation sequence?

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Rahul Gupta on Mar 23, 2010 09:27

    Hi,

    Article is really great. Can we have separate  row details for every column. Like in above case one detail for Group, another for Name and so on. Please reply me at guptarahulrk@gmail.com

    -Rahul Gupta

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Rahul Gupta on Mar 23, 2010 10:58

    Hi,

    Article is really great. Can we have separate  row details for every column. Like in above case one detail for Group, another for Name and so on. Please reply me at guptarahulrk@gmail.com

    -Rahul Gupta

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Param on Apr 13, 2010 10:40
    Heloo to all !

    i m strucj wid datagrid's row template ,
    actualy i want access the textbox placed in my row-template .

    plz any 1 4 help , do reply !

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Thomas on May 27, 2010 15:15

    Thank you!

    This was exactly what I was looking for. Now it's a piece of cake to create your own gridtree, since you can have a datagrid inside your DataTemplate. Add a extrector and hide the headr if you want and you are done.

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by BMR on Aug 12, 2010 17:12

     

    Hi,

    I am trying to create a Row Detail in DataGrid in Silverlight 4.I have a DataSource as

    Public User parentUser{get;set;}  

    Public List<User> childUsers{get;set;}

     

    In the First Grid I have to display all the parentUser details and In the detaisl Grid I ahev to display all the childusers associated with the parentUser.

     

    <sdk:DataGrid AutoGenerateColumns="False" HorizontalAlignment="Left" Name="UserViewModelDataGrid" RowDetailsVisibilityMode="VisibleWhenSelected" VerticalAlignment="Top">  

     

     

       <sdk:DataGrid.Columns> 

           <sdk:DataGridTextColumn Header="Description" Binding="{Binding Description}" SortMemberPath="ActvityValue"/> 

        <sdk:DataGridTextColumn Header="First Name" Binding="{Binding FirstName}" SortMemberPath="FirstName"/>

        <sdk:DataGridTextColumn Header="LastName" Binding="{Binding LastName}" SortMemberPath="LastName"/>

       </sdk:DataGrid.Columns>

     

    <sdk:DataGrid.RowDetailsTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

     

     

     

    <sdk:DataGrid HeadersVisibility="None" AutoGenerateColumns="False" DetailsVisibilityMode="VisibleWhenSelected" HorizontalAlignment="Left" Name="childUsersViewModelDataGrid" ItemsSource="ChildUsers"> 

     <DataGrid.Columns>

     

    <sdk:DataGridTextColumn Header="First Name" Binding="{Binding ChildUsers.FirstName}" SortMemberPath="FirstName"/>

        <sdk:DataGridTextColumn Header="LastName" Binding="{Binding ChildUsers.LastName}" SortMemberPath="LastName"/>

    </DataGrid.Columns>

    ....

     

    By the above way I am only able to display the parent rows and non of the details show up..

    i AM NOT ABLE TO UNDERSTAND WHERE i AM DOING WRONG.

    i REQUEST SOME SOLUTIONS AND SUGGESTIONS PLEASE.

    Thanks in Advance.

     

     

  • -_-

    RE: DataGrid and row details in Silverlight 2


    posted by Felix on Sep 22, 2010 23:27

    I was having the same issue when I remove the HeadersVisisbility in the details datagrid. If you remove the following

    HeadersVisibility="None"

    You should be able to see details

  • lnikolov

    RE: DataGrid and row details in Silverlight


    posted by lnikolov on Dec 22, 2010 18:21
    The article has been updated to the latest version of Silverlight and Visual Studio.
  • -_-

    RE: DataGrid and row details in Silverlight


    posted by fs on Apr 26, 2011 18:51
    • fasfasf
    1. fadsfasf
  • -_-

    RE: DataGrid and row details in Silverlight


    posted by SBJ on May 13, 2011 20:51

    I have Row Details with an Image button to Collapsed selected RowDetails. I tried different options 

    for example, i tried Search for parent row of a Rowdetails and collaps RowDetails to perticular Row.

    any help will be appriciated.

    Thanks

  • siobhan

    Re: DataGrid and row details in Silverlight


    posted by siobhan on Oct 03, 2011 11:41

    hello, 

    I have a datagridview that is created in code-behind. would you have an equivalent to show row details in code-behind?

    thanks in advance

Add Comment

Login to comment:
  *      *