on 07-29-2010 3:49 PM
Hello.
How to create a table Grid with simple Row Group with this structure ?
COMPANY | CONTACTS
Cp1 John
Jimmy
Michael
-------------------------------
Cp2 | Louis
Taylor
Michel
-------------------------------
Cp3 | Dave
Kelly
Harry
Is not a Tree view in Table ...I need only grouped rows expanded in a table.
Thanks in Advance.
Taylor
Edited by: Taylor on Jul 29, 2010 10:56 AM
Hi
Check if you have an option Insert->RowArrangement->TableRowGrouping or Insert->RowArrangement->TreeByNestingTablColumn on the right click of your table in the outline view.
I am not sure with which version this option was made available.
If you have it then you can easily group the rows, expand,collapse them.
[Help|https://cw.sdn.sap.com/cw/docs/DOC-102934]
Regards,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
TreeByNestingTableColumn is available with NW7.0 also:
[Link|http://help.sap.com/saphelp_nw70/helpdata/en/9f/656442a1c4de54e10000000a155106/frameset.htm]
Read the 'Columns' section in this link:
It says : A specific table column is the IWDTreeByNestingTableColumn which allows you to display a tree structure within a column. A table can only contain one of these columns.
That means it is available as a specific column type. I think as a MasterColumn.
Regards,
Ajay
Edited by: Ajay Patil on Jul 29, 2010 5:39 PM
Hi.
Is not a Tree view in Table ...I need only grouped rows expanded in a table.
Look this article in Example of a simple table with header, column headings, data rows and footer, but without a toolbar in:
http://help.sap.com/saphelp_sm40/helpdata/en/b5/ac884118aa1709e10000000a155106/content.htm
Do you know how to make like this ?
Thanks.
Taylor
Hi Taylor,
Try This:
1.Create a Context node with Following Structure:
TableNode
__Attr1 |
__Attr2 |
|__Attr3
You'll have the number of attributes based on your requirement
Fill the elements in the node.
Here we want to group the rows based on Attr1 value
2.Create a table with DataSource = TableNode
3.Add a TableColumnGroup in the table Say TableColumnGroup1.
4.Add 3 ( 3 in this example otherwise based on your requirement) columns say Colum1,Column2,Column3 in this Grouped column with TableCellEditors' values bound to the attributes in the TableNode respectively.
5.Select the Column1 (column used for Attr1) and bind its groupingValue propety to TableNode->Attr1
When you deploy, it will display the rows Grouped by the Value in Attr1.
Regards,
Ajay
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.