on 11-19-2004 8:52 AM
I used to use a htmlb:tableView with an iterator, and in get_column_definitions, i wrote HTML into the "ls_coldef-title" attribute. Therefore I managed to add a tooltip to the header-row and to change the font-color of the column-definition.
With the latest SP, it is not possible to write HTML into that attribute. HTML-Tags will just be interpreted as normal text.
Is there an alternative way to do that?
Daniel,
Have you tried to use the "title" parameter with something like this:
<span style="color:XXXXXX">col_name</SPAN>
Check the blog that talks about putting an image on the header. And then instead of putting an image put the code that I am giving you..
Regards
Ariel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Daniel,
Yep my weblog shows that as of SP45 it doesn't work anymore.
Max,
SAP seems to have closed the holes in their TAG's that allowed us to do that as of SP45. Which means that we'll have to wait for them to add the new attributes such as the Image tage to the column definitions.
Or we'll have to play around alot more have you tried using the & lt and all that for the HTML to add it in don't tell though )
Craig, found the problem:
You should not use the double quotes (like src="..."), replace them with single quotes and change your concatenate separators to `.
CONCATENATE
`<img src='`
myText
`' border='0'> Status`
INTO myText.
Can't tell what they changed, didn't debug or so ...
But I still have tons of concatenated strings with double quotes in my render_cell_start method - got loads of javascript in there, so I need the double quotes to be different from the single ones ... working alright there.
If I come across some more information on this I will keep you updated.
Max
Not bad! You found that pretty quick. What they changed is small and why it effects I'm baffeled still but the ' quotes work as well as the ` but they both can give you problems so I didn't bother to update the weblog for that.
The other solution is to encode everything which I'm still testing but hasn't given me too many problems yet.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.