This is a migrated thread and some comments may be shown as answers.

Json text returned as HTML

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kristian
Top achievements
Rank 2
Kristian asked on 02 Feb 2012, 06:39 PM
My json response has a string returned as HTML, for example
"Names":"<bold>bold<\/bold>"

This is stored in a kendo datasource and then applied to a grid.
How can I get my grid to display bold instead of
<bold>bold<\/bold>

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 02 Feb 2012, 06:58 PM
Hello Kristian,

The Kendo Grid columns have an encoded property that should serve your purpose.

http://www.kendoui.com/documentation/ui-widgets/grid/configuration.aspx

Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Kristian
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or