on 08-03-2006 10:58 AM
Hi,
I'm using NW 2004s - webdynpro for Java. I have a simple table where the data comes from backend. Now this data has all totals which comes as the last row.
Now I need to show the last row completely in bold font as the rest in normal font.
Any suggestions or help is greatly appreciated.
Regards,
Shiva Kumar
A "solution" that also works in NW04 is:
Assuming you have TextView cell editors, bind the "design" property of all editors to a calculated context attribute "EditorDesign" of type com.sap.ide.webdynpro.uielementdefinitions.TextViewDesign, readOnly=true, inside the table data source node "Rows".
Implement the getter like
WDTextViewDesign getRowsEditorDesign(IRowsElement element)
{
return element.index() == element.node().size() - 1
? WDTextViewDesign.EMPHASIZED
: WDTextViewDesign.STANDARD;
}
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have created a Totals table dynamically .It has only 4 rows but I want to make the last Row data should be BOLD.
I have created a CellDesign with type TextViewDesign and set calculated to true.
And implemented what Armin suggested.But still I am not getting all the rows in Bold
Please help me how I can do this
REGARDS
KALYAN
Shiva,
1. Right-click on Table in outline, select "Insert GroupedColumn", choose "TableColumn"
2. Right-click on column added, select "Insert FixedBottomCell", chooes "TableSummaryCell"
3. Repeat for all columns necessary.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.