Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7554877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:27:15+00:00 2026-05-30T11:27:15+00:00

Right now i am trying to implement something like the RowDetails feature of the

  • 0

Right now i am trying to implement something like the RowDetails feature of the WPF DataGrid into the XamDataGrid. What i have tried to do (and failed until now):

1.) Replace ExpandableFieldRecordPresenterStyle

In the FieldSettings i replace the ExpandableFieldRecordPresenterStyle with my own Style
This style is sitting in the window resources and sets the Template / TemplateGridView (tried both) properties to my own DataTemplate / ControlTemplate (tried both).

This did not work, although the style was set i did not see any changes in the visual represantion.

2.) Replace the DataRecordPresenterStyle

In the FieldLayoutSettings i replace the DataRecordPresenterStyle with my own style. This does the same as the previous method and it works. However, now i have got to re-implement the original DataPresenterStyle, since i just want to add the row details control, but leave the rest unchanged. This is where i am stuck right now.

In both variants my style and template are pretty simple:

<ControlTemplate x:Key="NestedRecordTemplate">
    <TextBlock Text="test"/>
</ControlTemplate>

<Style x:Key="NestedRecordStyle" TargetType="{x:Type igDP:DataRecordPresenter}">
    <Setter Property="Template" Value="{StaticResource NestedRecordTemplate}" />
</Style>

I have researched the infragstics forums (there has been suggestions to go with the second option) and the internet and have not found a solution yet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:27:16+00:00Added an answer on May 30, 2026 at 11:27 am

    There is an example in this thread that could be used as an example on how to accomplish this: http://community.infragistics.com/forums/p/43348/238054.aspx

    Note that the sample Alex provided in the thread uses a bound field for the row details and if you don’t have a field to bind to, you can use an UnboundField instead. The following shows an example of what this might look like:

    <igDP:XamDataGrid x:Name="XamDataGrid1">
        <igDP:XamDataGrid.FieldLayoutSettings>
            <igDP:FieldLayoutSettings AutoGenerateFields="False"/>
        </igDP:XamDataGrid.FieldLayoutSettings>
        <igDP:XamDataGrid.FieldLayouts>
            <igDP:FieldLayout>
                <igDP:FieldLayout.Settings>
                    <igDP:FieldLayoutSettings AutoArrangeCells="Never"/>
                </igDP:FieldLayout.Settings>
                <igDP:FieldLayout.Fields>
                    <igDP:Field Name="EmployeeID" Row="0" Column="0"/>
                    <igDP:Field Name="Name" Row="0" Column="1"/>
                    <igDP:Field Name="OnSite" Row="0" Column="2"/>
                    <igDP:Field Name="DateOfHire" Row="0" Column="3"/>
                    <igDP:Field Name="Department" Row="0" Column="4"/>
                    <igDP:Field Name="Site" Row="0" Column="5"/>
                    <igDP:UnboundField Name="RowDetails" Row="1" Column="0" ColumnSpan="6">
                        <igDP:UnboundField.Settings>
                            <igDP:FieldSettings>
                                <igDP:FieldSettings.LabelPresenterStyle>
                                    <Style TargetType="{x:Type igDP:LabelPresenter}">
                                        <Setter Property="Visibility" Value="Collapsed"/>
                                    </Style>
                                </igDP:FieldSettings.LabelPresenterStyle>
                                <igDP:FieldSettings.CellValuePresenterStyle>
                                    <Style TargetType="{x:Type igDP:CellValuePresenter}">
                                        <Setter Property="Template">
                                            <Setter.Value>
                                                <ControlTemplate TargetType="{x:Type igDP:CellValuePresenter}">
                                                    <StackPanel Orientation="Horizontal">
                                                        <TextBlock Text="Row Details for "/>
                                                        <TextBlock Text="{Binding DataItem.Name}"/>
                                                    </StackPanel>
                                                    <ControlTemplate.Triggers>
                                                        <DataTrigger Binding="{Binding IsSelected}" Value="False">
                                                            <Setter Property="Visibility" Value="Collapsed" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding IsSelected}" Value="True">
                                                            <Setter Property="Visibility" Value="Visible" />
                                                        </DataTrigger>
                                                    </ControlTemplate.Triggers>
                                                </ControlTemplate>
                                            </Setter.Value>
                                        </Setter>
                                    </Style>
                                </igDP:FieldSettings.CellValuePresenterStyle>
                            </igDP:FieldSettings>
                        </igDP:UnboundField.Settings>
                    </igDP:UnboundField>
                </igDP:FieldLayout.Fields>
            </igDP:FieldLayout>
        </igDP:XamDataGrid.FieldLayouts>
    </igDP:XamDataGrid>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement paging in a custom ListAdapter. Right now I'm just making
For a fun project I'm trying to implement the BitTorrent spec, and right now
I'm trying to implement an odata consumer, specifically right now related to doing batch
I'm currently trying to implement a StopWatch class. The interface is something like: interface
So right now, I am trying to implement an asynchronous call which calls my
Right now I am trying to create a producer/consumer thread, the producer thread goes
Right now I am trying to solve Project Euler 71 . Consider the fraction,
Right now I'm trying to create my own tiny MVC (just for practice and
Right now I'm trying desperately to get @font-face to work in my website. This
Right now I'm trying this: int a = round(n); where n is a double

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.