title: Implementing row details with XamDataGrid
body: <p>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):</p>
  
  <p>1.) Replace ExpandableFieldRecordPresenterStyle </p>
  
  <p>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).</p>
  
  <p>This did not work, although the style was set i did not see any changes in the visual represantion.</p>
  
  <p>2.) Replace the DataRecordPresenterStyle </p>
  
  <p>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.</p>
  
  <p>In both variants my style and template are pretty simple:</p>
  
  <pre><code>&lt;ControlTemplate x:Key="NestedRecordTemplate"&gt;
      &lt;TextBlock Text="test"/&gt;
  &lt;/ControlTemplate&gt;
  
  &lt;Style x:Key="NestedRecordStyle" TargetType="{x:Type igDP:DataRecordPresenter}"&gt;
      &lt;Setter Property="Template" Value="{StaticResource NestedRecordTemplate}" /&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>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.</p>