on 10-13-2008 7:13 PM
Hi masters!
Please I need to group some data in a grid, how could I do that ?
In order to ilustrate this, follow an example of the data:
name, category, value
name1, 1, 120
name2, 1, 132
name3, 1, 50
name4, 2, 130
name5, 3, 100
name6, 3, 101
name7, 3, 95
And I should show this data in a grid grouped by category but each category has a description that will be hard code, like this:
name, value
Category 1 - Prefered Movies
name1, 120
name2, 132
name3, 50
Category 2 - Rated Movies
name4, 130
Category 3 - Simple Movies
name5, 100
name6, 101
name7, 95
I created one Table in webdynpro but its just show the data with out this rows group or I still don´t know how to do that
I solved this problem creating one table to each to group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To combine the fields belonging to one column, the value TableColumn.groupingValue must be bound to the dataSource. The consecutive fields that have the same values for groupingValue and selectedCellVariant are merged into one field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michel,
One work around would be bind Table Column's "groupingValue" property with DataSource value attribute.
See the below link for more help on table:
http://help.sap.com/saphelp_nw04s/helpdata/en/b5/ac884118aa1709e10000000a155106/frameset.htm
Thanks
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In version 7.1 you can use the TableRowGrouping element to achive this.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.