cancel
Showing results for 
Search instead for 
Did you mean: 

How i create Group columns web dynpro java

Former Member
0 Kudos

I wanna create a table with 3 Group columns how i can create using web dynpro for java ?'??

example :

grup 1 grup 2

number id adreess country

1 2 xxxxx argentine

thanks !!!!

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Former Member
0 Kudos

Hi Paola Groppo,

Following are the steps :

1. Create a table in the layout tab.

2.Right click and add Grouped Column Element to the table.

3.Now it will give you an option of adding the column header.Add it say A.

4.Now under A you can add column elements say a,b,c and d.

UI would look something like this:

header column (Grouped Column): | A |

Underlying column added within the ColumnGroup UI element| a | b | c | d |

Row Represing the element of the Data Source Node | X | Y | V | Z|

Now u'll require to bind these column with the attributes and also set the data Source node in the table properties to the parent of these attributes.

I hope the description was quite clear.

Regards

Amit

Former Member
0 Kudos

i created a table but when i push de right click on it i can't see the option Grouped Column

<a href="http://img265.imageshack.us/my.php?image=errorle3.jpg" target="_blank"><img src="http://img265.imageshack.us/img265/1981/errorle3.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us"; /></a>

Any example please ?

Former Member
0 Kudos

Are you already on version NW04s (aka 7.0)? If not, grouped columns don't exist.

Armin

Former Member
0 Kudos

i have this configuration

SAP NetWeaver Developer Studio

Version: 2.0.15

Build id: 200604250237

(c) Copyright SAP AG 2006. All rights reserved.

Visit http://www.sap.com

This product includes software developed by the

Apache Software Foundation http://www.apache.org/

Eclipse.org http://www.eclipse.org/

<a href="http://img353.imageshack.us/my.php?image=configuracionzd0.jpg" target="_blank"><img src="http://img353.imageshack.us/img353/4402/configuracionzd0.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us"; /></a>

Former Member
0 Kudos

This is NW04 SP15, which is not 7.0.

Armin

Former Member
0 Kudos

Any idea how i can resolve this problem?

actually i use 3 tables for display de information but the user don 't like the layaut

Former Member
0 Kudos

You can create hierarchical groups of table columns by adding TableColumnGroup instances to a table using the addGroupedColumn() method.

Example:

Table

- TableColumnGroup G1

-- TableColumn C1

-- TableColumn C2

- TableColumGroup G2

-- TableColumn C3

-- TableColumn C4

would result in a table with 4 columns C1..C4 where C1 and C2 are grouped under G1, C3 and C4 are grouped under G2.

Armin

Former Member
0 Kudos

Any example please ?

i am a beginner developer