Created
November 28, 2018 22:41
-
-
Save bjoerntx/b5b2f344444813f29890e87367629bef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MergeBlockInfo mergeBlockInfo = new MergeBlockInfo("Products"); | |
mergeBlockInfo.BlockMergingCondition = | |
new List<TXTextControl.DocumentServer.DataShaping.FilterInstruction>() | |
{ | |
new TXTextControl.DocumentServer.DataShaping.FilterInstruction( | |
"RenderProducts", | |
TXTextControl.DocumentServer.DataShaping.RelationalOperator.Equals, | |
true | |
) | |
}; | |
mergeBlockInfo.ColumnNames = | |
ribbonReportingTab1.DataSourceManager.PossibleMergeFieldColumns.Select( | |
column => column.ColumnName).ToList(); | |
MergeBlockSettings settings = new MergeBlockSettings(BlockTemplateType.PlainParagraph); | |
ribbonReportingTab1.DataSourceManager.InsertMergeBlock(textControl1, mergeBlockInfo, settings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment