I am using the method outlined here to offset (indent) child rows from their parent rows.
http://es.infragistics.com/community/forums/t/23584.aspx
However, I also need the Summary Results for the child rows (but not the parent rows) to be indented. Otherwise things don't align properly.
As can be seen in the attached screencap, the child row is indented 95 pixels (purple arrow). This causes the summary results for the children to be misaligned, since they also need to be pushed over 95 pixels (red arrows). The summary results for parent rows are already correctly aligned (green line).
I know how to style the SummaryResultsPresenter and SummaryRecordsPresenter, but I can't figure out how to apply a specific style to just the children.
Hello Tory,
Thank you for you post.
I have been investigating your requirement and what I can suggest is to define two FieldLayouts with Keys – ‘parent’ and ‘child’. Also you can create style for SummaryRecordPresenter. In the style you can use DataTrigger with converter and you can get the FieldLayout of summary record. By using its Key property you can determine whether it is parent or child summary record and set the margin you want. I created short sample application based on your scenario to show you how you can implement the functionality that are looking for. Please let me know if I am missing something from your scenario.
If you require any further assistance on the matter, please do not hesitate to ask.