TRVRowGenerationNestedRule.MergeWithPrevious

<< Click to display table of contents >>

TRVRowGenerationNestedRule.MergeWithPrevious

Specifies whether cells of the outermost columns of the sub-rule will be merged with cells of the previous rule.

property MergeWithPrevious: Boolean;

The counts of outermost columns are specified in SkipLeftColCount and SkipRightColCount.

Example

Let we have the table "Product" having the fields "Category" and "Product".

The table template is:

Products

{Category}

{Product}

 

{Count}

All colored cells belong to the parent rule, light green cell belongs to the first sub-rule, yellow cell belongs to the second sub-rule.

The results with MergeWithPrevious = False:

Products

Fruits

apples

oranges


2

Vegetables

tomatoes

cucumbers


2

The results with MergeWithPrevious = True:

Products

Fruits

apples

oranges

2

Vegetables

tomatoes

cucumbers

2

Default value:

False