I have hyperlinks within cells of a dhtmlxGrid. The links has parameters like that:
?func=anzeige&wkid=858861303449936&rub1=Stopfen%20-%20%20Abdeckstopfen&rub2=Tellerstopfen%20aus%20LDPE
Whith ‘&’ in the link, only header is displaying, but no rows.
Is it a bug or a feature or do I have a knowledge problem? I’m a newbie.
Thanks in advance for any hint!
I’ve solved it temporarily very simple:
<![CDATA[ Linkname ]]
But I prefer the “official” solution with special syntax from dhtmlxgrid_excell_link, so I hope to get an answer.
The special syntax which I mean is link^url;^target
There are two possible issues with & character
a) escaping in XML
The next characters are not allowed inside XML data “<”, “>”, “&” - they need to be replaced with related entities ( <, > & ) or placed inside CDATA section ( your solution above )
b) rendering in HTML
If you are using & inside href part of cell - it will be processed correctly, but when used as part of HTML it may be treated as start of HTML entity ( IE ) and rendered incorrectly.
Grid supports “pure text” column types , such as edtxt,txttxt,rotxt,corotxt - which works as default ones, but process incoming data as text ( which means tags and special chars inside content will be rendered as a text, not as HTML )
Thanks!
My evaluation period is over after a day. With a positive result.