cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically settting Layoutdata property

Former Member
0 Kudos

Hi,

I created a goup and I need to add UI elements uinder the group dynamically.I am using Matrix layoutfor the group.I want to set the Layout data property of one of the UI element as MatrixHead data d.But I dont find any set method for layoutdata property.

Please let me know hoew to do this.

Thanks and Regards,

Rajesh.A

Accepted Solutions (0)

Answers (2)

Answers (2)

vijay_kumar49
Active Contributor
0 Kudos

Hi,

Please Look at this [How to set layout|http://forums.sdn.sap.com/thread.jspa?threadID=1205244].

Hope this helps you..

Best Regards

Vijay K

Former Member
0 Kudos

Hi Rajesh,

You can this code to get the MatrixHeadData dynamicaly in your code.

IWDMatrixHeadData matrixHeadData = (IWDMatrixHeadData)<UiElement>.createLayoutData(IWDMatrixHeadData.class);

Ui Element should be the one to which you want to set as a HeadData.

Regards

Ravindra