Page tree

MagicDraw 19.0 LTR SP3 Documentation


There are two methods that you can use to merge rows.


$tableprop.mergeRows(Int number)


When you put the statement into a row, it will be set as a merged row in a specified number.

For example:

Template code:

#forrow($c in

$sorter.sort($Class))$c.name$tableprop.mergeRows($c.ownedElement.size())#set($count=0)

#foreach($attr in $c.ownedElement)#set($count = $count + 1)


$attr.name#if($count < $c.ownedElement.size())

#end#if(false)#end#end#endrow


$tableprop.mergeRows(String stringNumber)


When you put the statement into a row, it will be set as a merged row in a specified String of number.
For example:

Template code:

#set($a = $array.createArray())

#set($void = $a.add("A"))

#set($void = $a.add("B"))

#set($void = $a.add("C"))

#forrow($c in $a)Name$tableprop.mergeRows("3")$c#endrow

  • No labels