how works ExpandableFieldRecordHeaderDisplayMode property?because I have set it to NeverDisplayHeader but has not had any effect on the expandable record header and also changing the value, my datagrid always behaves the same way
Thanks for replyMatteo
Bring up my post.
Hello,
Can you attach a screenshot of what you currently have and what behavior you want to achieve? Are you trying to hide the header record (the labels of the fields) or the expandable field record presenter? Please also note that there are samples in the xam feature browser about the expandable field record presenter header which show the difference.
Thanks. That did it. A follow up question: How do I control (eg set to 0) the spacing marked in red. I've tried templating the ExpandableFieldRecordPresenter, the RecordListControl. I've tried setting Padding and/ or Margin to 0 for the ExpandableFieldRecordPresenter. No luck.
You can see how to remove the indentation here.
Thanks, Alex. That worked.
I wanted to try another possibility, to make the grid more tree like: Is it possible to bind the child row indentation to the width of a column in the parent row. eg, if I expand column 0 in the parent row, the child rows move to the right.
Yes, that is possible. You could bind the width of the top level field to the nested field. A sample implementation you can find here by Josh Smith.
I have a problem with sync widths of fields between parent and child layouts.It seems, the approach above is not working properly, when AutoFit is enabled for the grid.
My version of Infragistics controls is 13.1.
Can someone give an advice or an example of how it can be solved?