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

Saving HTML from Editor // Display HTML in Grid

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 04 Dec 2013, 12:18 AM
I have HTML that I am pulling from a database and displaying in a cell.  Right now, just the raw HTML is displayed.

How do you enable the column to display the HTML (css and all)?   I have looked at the column templates, but don't see an examples.

Thanks.



1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 05 Dec 2013, 08:22 AM
Hello Bob,

There is a column property that If set to true the column value will be HTML-encoded before it is displayed. If set to false the column value will be displayed as is. By default the column value is HTML-encoded. Please check the following example:

http://jsbin.com/uXOTOva/1/edit

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