cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic colSpan

Former Member
0 Kudos

Hi,

Please teach the method of the setting to

Group that dynamically makes colSpan.

I want to specify colSpan for the one that

Group was dynamically made.

<CODE>

public static void wdDoModifyView(){

....

....

....

IWDGroup group = (IWDGroup)view.createElement(IWDGroup.class,"Group" );

group.setDesign(WDGroupDesign.SAPCOLOR);

group.createLayout(IWDMatrixLayout.class);

tras.addChild(group);

...

...

...

}

</CODE>

Please teach the setting method.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

BESS,

Overall, call span is a property of cell within layout, not a layout itself. So please show code where you are adding elements -- this way it will be simpler to show how to set colSpan on cell.

VS

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can try this way to create Transparant Container inside of MatrixLayout. Through this method also you can achive colspan. The Transparant Container also in MatrixLayout. If you want to put two values into single column then create one Transparant Container and put it two values.

Kind Regards,

S.Saravanan.

Former Member
0 Kudos

Hi,

Create Proper layout and set the UIElements accordingly

Importantly use the Colspan property of Group

RootGroup - MatrixLayout, colCount=1, width=600px,Colspan=2

ChildGroup1 - AnyLayout, colSpan=1, width=300 px.Layoutdata="matrixdata"

ChildGroup2 - AnyLayout, colSpan=1, width=300 px Layoutdata="matrixdata"

Regards,

Saravanan K