on 01-12-2009 2:02 PM
Hi,
I want to design 1 Label and 1 Inputfield in 1 row in a Web Dynpro View.
The RootUIElementContainer is assigned MatrixLayout and the Labels and InputField are assinged in it.
But all are appearing in a single row as:
Label1: Inputfield1 Label2: Inputfield2
Regards
Neha Singh
Hi Singh
Select "Label2"
In the properties. Look up "Layoutdata"
Set it to "MatrixHeadData"
That's it.
Jeschael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
Its very simple. U want to display the Label2: Inputfield2 in the second row rt?
Then select Label2 -> Right Click -> Properties
In the Properties go to layoutdata and set it to "MatrixHeadData".
This will definately solve your problem
Regards,
Kavitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
If your requirement is to have specified number of columns in a row then its better to go with GridLayOut.
For example Your requirement is to have 4 columns per row, then you can set the no of columns as 4 but now in 3rd row you want 2 columns only i.e one lable and one input field, in this case right click on input field-> properties then change the colspan to 3. This way you can achive two UI elements in four columns only.
Similarly you can have any number of UI elements in one row based on no of columns.
if you require more information i can help you.
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
Also you can check the following article on sdn:
This is a step by step document for the ui elements in webdynpro java. For matrix layout you can refer to page no.15.
It will also help you in future.
Regards.
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha Singh ,
RootUIElementContainer----Grid layout
col count -- 2
or
RootUIElementContainer--Matrix layout
layoutdata for label2--MatrixHeadData
Regards,
P.Manivannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is there any link in www.help.sap.com that deals with
designing Web Dynpro views in prescribed layout.
Means, I need a Step by Step Document.
Regards
Kaushik Banerjee
Hi,
Refer
http://help.sap.com/saphelp_nw70/helpdata/EN/d8/159b3afc935541a47d4115310b294f/frameset.htm
Regards,
P.Manivannan
Neha,
Or you can change the Layout to GridLayout and set the ColCount property to 2 ...then it will automatically goto the next row after 2 elements on the first one....
Regards,
Shikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.