Hello,
I defined two summary definitions with different custom summary calculators. I want them to appear both above the same field and among each other within the summary record. If I set PositionFieldName-Property to the same name one hides the other.
Hello Marcel,
As far as displaying the custom summaries at the top this would be set from the SummaryDisplayArea property in FieldSettings. The value can be set to TopFixed.
I have attached a sample.
Hello Duane,
thanks for the sample. I now figured out, why in my situation the settings you used did not work. The problem is "DataRecordSizingMode" is set to "Fixed" in the FieldLayoutSettings. But this behaviour is a bug, isnt't it?
mwicke said: Hello Duane, thanks for the sample. I now figured out, why in my situation the settings you used did not work. The problem is "DataRecordSizingMode" is set to "Fixed" in the FieldLayoutSettings. But this behaviour is a bug, isnt't it?
I think the behavior is expected since setting the value to Fixed there is a performance gain. How about setting this property to SizedToContentAndFixed?
OK, I think for now I can live with the workaround. Thank you.
mwicke said: Second, the property is called DATARecordSizingMode, so why is it affecting summary records?
Second, the property is called DATARecordSizingMode, so why is it affecting summary records?
Let me know if I can provide any further assistance.
I really don't believe this behavior is expected and still think it's a bug.
"When using the SizedToContentAndFixed or SizedToContentAndIndividuallySizable values for this property there is a negative impact to performance when rendering the grid because the control must calculate the size of each individual cell"
http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v12.2~Infragistics.Windows.DataPresenter.FieldLayoutSettings~DataRecordSizingMode.html
A workaround seems to be setting the DataRecordSizingMode to IndividuallySizable?!