on 10-17-2008 6:48 AM
How keep only one element in first row and two element in second row.
can u send detail about this arrange ment of elements in web dynpro
Regards,
H.V.Swathi
Edited by: H.V Swathi on Oct 17, 2008 7:48 AM
hi,
for this you have two options.
Firstly add all the three elements which so ever u want like b1 , b2 , b3.
Now
-> change the RootUIElementContainer property -> LayoutData to Matrix Layout.
and then Change the LayoutData property of b2 to Matrix head Data.
You can even go for Row Layout.
-> Change the RootUIElementContainer property ->LayoutData to Row Layout.
and then Change the Layout property of b2 to Row head Data.
I hope this will solve your problem.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swathi,
If you want to show this pattern in grid layout.Mens you have to display five elements.
Create TransparentContainer with ColCount 3.
For the first element make colspan=3 align=left.
For the second,third,fourth values Colspan=1 align= center
For the fifth element make colspan=3 align=left.
Regards,
Lakshmi Prasad.
hi,
For Grid Layout , you have to change the ColCount Property to the maximum number of elements you want in a row.
Suppose you want 3 elements in first row , 2 in second and 1 in third row Then go like this.
Change the ColCount to 3 ->
Add 1 invisible UIElement in second row and 2 invisible UIElement in third row.
So you have to add invisible elements for GridLayout.
You have to proceed in this way for Grid Layout.
Thanx.
Namaste Swati,
To obtain fields as you mentioned, first of all, create a group with 'Layout' set to MatrixLayout.
I'm considering the fields to be text fields (just for example)
Create a field T1.1 and T1.2 with default layout Matrix. This will create 2 fields next to each other.
Now create field T2.1 with layout set to MatrixHeaderData. This will create a field in the next row. Whatever fields you create from now on will be in the second row, with default layout set to Matrix. Create as many fields, such as T2.2, T2.3 and so on.
For the third row, create a field T3.1 with layout MatrixHeaderData.
I hope you have got what you want!!
Krishna Murthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
when you using MatrixLayout in container.
for each element in it have "layoutdata" property.Default is "matrixdata".
if you want to bring it next line set this property to "matrixHeaddata".
if you have three elements ,for your requirement set matrixheaddata to second element.
hope it helps you.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can u give more details of your requirement. What i think is you want one element in first row, two elements in second row and three elements in third row so on..... For this you can set nulls for the remaining places like
for(int i=node.size();i>0;i--)
{
if (i==node.size()
{
element.setxxx
//set all the elements
}
if(i==nodesize()-1)
{
element.setxxx
//set one less element
}
and so on...
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swathi,
You can try like this, Make the Cell visibility as a variable , create Context nodevalue with type Visibility and map Cell visibility to the Context Variable.
while setting the value you can set the visibility also.
If you want to set inivisible -- Visibility.None
If you want to set visible -- Visibility.Visible.
Regards,
Lakshmi Prasad.
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.