How does one make the GroupByRecordPresenter expand so it displays its child nodes the first time it becomes visible? I attempted to do it through a style but it didn't have any affect:
<Style TargetType="{x:Type igDP:GroupByRecordPresenter}">
<Setter Property="IsExpanded" Value="True"/>
</Style>
Hi,
Setting the IsExpanded property in the GroupByRecordPresenter style will not work probably becauseof the timing issues. In any case, you should use the InitializeRecord event to expand group-by records.
public void xamDataGridName_InitializeRecord( object sender, InitializeRecordEventArgs e ) { if(e.Record is GroupByRecord) { e.Record.IsExpanded = true; } }
Best Regards,Yanko