ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
html code in data does not get renderd
« previous
next »
Print
Pages: [
1
]
Author
Topic: html code in data does not get renderd (Read 2068 times)
arbyter
Pro Ultimate
Newbie
Posts: 43
Retired IT Guy
html code in data does not get renderd
«
on:
March 08, 2019, 08:22:41 pm »
hello
my data contains html code and want to have it rendered.
But PQGrid shows the sourcecode.
I modifiied example "row and cell styles", there it renders. (see attached printscreen)
https://next.plnkr.co/edit/Hysibr1C6QgJCjaD?preview
«
Last Edit: March 08, 2019, 09:51:26 pm by arbyter
»
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: html code in data does not get renderd
«
Reply #1 on:
March 08, 2019, 11:21:47 pm »
Either use dataType: "html" or use column.render callback to inject html.
https://next.plnkr.co/edit/R0rBLnlWSTEw8tjM
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
html code in data does not get renderd