on 04-08-2008 6:19 AM
Hi,
My requirement is to display hyperlinks in the particular columns of a table based on the level of the report.For example, my 1st level should have the values of the column "NAME" as hyperlinks.My next level shoould have the values of the column "LOCATION" as the hyperlinks.
Like that, i need to make a particular column values as the hyperlinks based on the level.
I have already created hyperlink for NAME as well as for LOCATION. But based on level it should show the hyperlink only for one column as stated above. But for me it is displayed the hyperlink for both the column irrespective of the levels.
Please guide me how to do it.
Regards,
Padmalatha.K
xxxxxxxxxxxxxxxxxxxxx
Edited by: Armin Reichert on Apr 8, 2008 9:57 AM
Hi Armin,
Can you please explain in detail? I couldnt get this.
("visible" property of the links to attributes )? Do we have to create a separate attribute and make it as link to url?
Regards,
Padmalatha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Context:
Rows (node, 0:n)
- level (int)
- level0LinkVisible (Visibility, calculated=true)
- level1LinkVisible (Visibility, calculated=true)
Data binding:
Table.dataSource = Rows
Level0Link.visible = Rows.level0LinkVisible
Level1Link.visible = Rows.level1LinkVisible
WDVisibility getRowsLevel0LinkVisible(...)
{
return element.getLevel() == 0 ? WDVisibility.VISIBLE : WDVisibility.NONE;
}
WDVisibility getRowsLevel1LinkVisible(...)
{
return element.getLevel() == 1 ? WDVisibility.VISIBLE : WDVisibility.NONE;
}
Armin
Hi Armin,
My requirement is that i have to make certian column values of a table as hyperlinks.The table displays the data from a bapi.So i cannot create attribute statically.The bapi will contain a field called hotspot. If this filed is active for a particular column, for that column i need to make the values as hyperlinks.
Ex: Values in r/3
fieldname hotspot Levels
Name Active level2(making only the name (not class) as hyperlinkfor 2nd screen)
Age Inactive
Class Active level3(making only the class(not name) as hyperlink for 3rd screen)
From the above example, hyperlink should come in Name and Class field.
In future they might add one more record say fieldname - position, hotspot - active, levels-level3(making position as hyperlink for 3rd screen).
For this also i need to set the hyperlink dynamically.
Hope this is clear.
Regards,
Padmalatha.K
Edited by: padmalatha kontham on Apr 8, 2008 1:17 PM
Edited by: padmalatha kontham on Apr 8, 2008 1:19 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
I have to create an hyperlink for the column based on the R/3 values.
Ex: In R/3 which field name has got hotspot active, for that column i need to create the hyperlink.
So I cannot create the attribute statically. Is there any other option?
Regards,
Padmalatha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could bind the "visible" property of the links to attributes under the table data source and set the attribute values to VISIBLE/NONE if the link should be shown/hidden based on the level of the coresponding row.
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 |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.